Search found 6 matches

by Sparks
Wed Jul 03, 2019 4:46 pm
Forum: Liberty BASIC Language
Topic: Defining controls
Replies: 3
Views: 531

Re: Defining controls

Thank you. I'll have to rethink my plans here, and just when I thought I'd learned everything about LBB that I could. [:-)
by Sparks
Mon Jul 01, 2019 11:20 pm
Forum: Liberty BASIC Language
Topic: Defining controls
Replies: 3
Views: 531

Defining controls

dim W$(8) 'contains handle, legend, actionsub, "UL", x, y, w, h . call example W$() . . end sub example X$() . . testvar=3 select case testvar case 3 hdl$=X$(1) button , #hdl$, X$(2), X$(3), X$(4), val(X$(5)), val(X$(6)), val(X$(7)), val( X$(8)) case xx . . end select will not compile, it reports Mi...
by Sparks
Mon May 27, 2019 7:59 pm
Forum: Liberty BASIC Language
Topic: Handle variables in control definition statements
Replies: 2
Views: 681

Re: Handle variables in control definition statements

OK, thanks a bunch. That seems to have fixed that part of my problem ... I say "seems" because I've got at least one other problem getting the code to run which I'm sure is pilot error too.
by Sparks
Sun May 26, 2019 11:57 pm
Forum: Liberty BASIC Language
Topic: Handle variables in control definition statements
Replies: 2
Views: 681

Handle variables in control definition statements

There seems to be some sort of prohibition for using handle variables in control definition statements. For example: hw$="WIN" hc$=hc$+".txt" statictext #hc$, "This is text", x, y, w, h open "Test Window" for window as #hw$ where x, y, w, h are previously set variables, gives me compile errors on bo...
by Sparks
Wed Apr 10, 2019 6:52 pm
Forum: Liberty BASIC Language
Topic: Generating events when focus changes
Replies: 2
Views: 783

Re: Generating events when focus changes

Thank you, that will work just fine for me
by Sparks
Tue Apr 09, 2019 10:10 pm
Forum: Liberty BASIC Language
Topic: Generating events when focus changes
Replies: 2
Views: 783

Generating events when focus changes

Is there a way to trap a focus change event on a Textbox in LBB? Specifically, I'd like to be able to trap the "leave" event when the Textbox loses the focus. Trapping when it gets the focus might have value too. I've been digging through a number of the available resources with no joy yet, thought ...