Author |
Topic: The future of LBB - please read (Read 3268 times) |
|
SarmedNafi
Junior Member
member is offline


Posts: 93
|
 |
Re: The future of LBB - please read
« Reply #12 on: Feb 7th, 2015, 5:58pm » |
|
> Extensions to the Graphical User Interface, for example new controls such as a List View / Grid control or native toolbars and status bars.
I prefer to insert this extensions indeed, it will be a big jump over LB, I will leave LB behind me and go faster with LBB. Each time Richard say that then he fold back for some reasons. I hope this time will be the big band of LBB.
|
|
Logged
|
|
|
|
Richard Russell
Administrator
member is offline


Posts: 1348
|
 |
Re: The future of LBB - please read
« Reply #13 on: Feb 7th, 2015, 9:03pm » |
|
on Feb 7th, 2015, 5:58pm, SarmedNafi wrote:| > Extensions to the Graphical User Interface, for example new controls such as a List View / Grid control or native toolbars and status bars. |
|
This thread is very old; there is a gap of more than a year between reply #8 and reply #9! So whilst it is interesting to get responses after such a long time, bear in mind that a lot of water has passed under the bridge since then. In particular see the thread Winding down LBB for a change of direction.
So, although one should never say never, I think it's now very unlikely that LBB will ever be extended to incorporate native List View or Grid controls.
Richard.
|
|
Logged
|
|
|
|
SarmedNafi
Junior Member
member is offline


Posts: 93
|
 |
Re: The future of LBB - please read
« Reply #14 on: Feb 8th, 2015, 02:40am » |
|
Well,
Richard are they available on BBC?
|
|
Logged
|
|
|
|
SarmedNafi
Junior Member
member is offline


Posts: 93
|
 |
Re: The future of LBB - please read
« Reply #15 on: Feb 8th, 2015, 02:43am » |
|
I mean:
List View / Grid control
Are they available on BBC?
|
|
Logged
|
|
|
|
Richard Russell
Administrator
member is offline


Posts: 1348
|
 |
Re: The future of LBB - please read
« Reply #16 on: Feb 8th, 2015, 10:02am » |
|
on Feb 8th, 2015, 02:43am, SarmedNafi wrote:| List View / Grid control. Are they available on BBC? |
|
The List View is a standard Windows control, so it is available to any language which supports calling the Windows API - and that includes both BBC BASIC and Liberty BASIC. Indeed, demo programs which use a List View control are available for both those languages.
The issue is not whether the List View is available but whether it is supported as a native (built-in) control. BBC BASIC has no built-in controls - it's not a Windows language after all - the only way of creating any standard UI feature (even something as simple as a textbox) is via direct API calls - although these will usually be in a library to isolate the user from the low-level complexity.
So if you want to use a List View in LB 4.04 or LBB go ahead, but I have no plans to make it available as a native control.
Richard.
|
|
|
|
bluatigro
Full Member
member is offline


Gender: 
Posts: 111
|
 |
Re: The future of LBB - please read
« Reply #17 on: Aug 17th, 2015, 09:11am » |
|
i want to do : Code:
for i = 0 to 5
button #m.btn;i,str$(i),ul,btn,i*50,50,50,50
next i
wait
sub btn h$
b = val( right$( #h$ , len( #h$ ) - 5 )
notice "you pushed button " ; b
end sub
this kind of code i want to do whit all the GUI controls
in the IDE i want more than one texteditor-page so i can load more codes at one time
|
|
Logged
|
|
|
|
Richard Russell
Administrator
member is offline


Posts: 1348
|
 |
Re: The future of LBB - please read
« Reply #18 on: Aug 17th, 2015, 09:54am » |
|
on Aug 17th, 2015, 09:11am, bluatigro wrote:| this kind of code i want to do with all the GUI controls |
|
Yes, you can! LBB already supports that:
Code:for i = 0 to 5
button #m.btn,str$(i),btn,ul,i*50,50,50,50
maphandle #m.btn, "#m.btn";i
next i
open "Multiple buttons" for window as #m
wait
sub btn h$
b = val( right$( h$ , 1))
notice "you pushed button " ; b
end sub Richard.
|
|
Logged
|
|
|
|
|