LB Booster
« The future of LBB - please read »

Welcome Guest. Please Login or Register.
Apr 1st, 2018, 03:28am



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
We apologize Conforums does not have any export functions to migrate data.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

Thank you Conforums members.
Speed up Liberty BASIC programs by up to ten times!
Compile Liberty BASIC programs to compact, standalone executables!
Overcome many of Liberty BASIC's bugs and limitations!
LB Booster Resources
LB Booster documentation
LB Booster Home Page
LB Booster technical Wiki
Just BASIC forum
BBC BASIC Home Page
Liberty BASIC forum (the original)

« Previous Topic | Next Topic »
Pages: 1 2  Notify Send Topic Print
 hotthread  Author  Topic: The future of LBB - please read  (Read 3263 times)
SarmedNafi
Junior Member
ImageImage


member is offline

Avatar




PM


Posts: 93
xx 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?

User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx 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.
« Last Edit: Feb 8th, 2015, 10:03am by Richard Russell » User IP Logged

bluatigro
Full Member
ImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 111
xx 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
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx 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.
User IP Logged

Pages: 1 2  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls