Hello Shawn,
I agree with you, as the Palm GUI programming is events based, it is not always easy to get it at first glance. Afterwards, you will find it very "natural"
And especially because iziBasic really simplifies all the work around this topic. I even believe that it is one of iziBasic's great strengths against its competitors.
I tried to explain the principle in the Appendix #1 of the user manual. Could you tell me if this is enough or not?
Overall the principle is the following: all GUI objects are created with a "
handle", like:
BUTTON #3,"Show my Text",40,70,80,14
Then a loop scans all the time if an event happens on one of the handled objects:
REPEAT
E=DOEVENTS
UNTIL E=-1
Would you want to do something when button is pressed (this is an event), then add a line like this:
REPEAT
E=DOEVENTS
IF E=3 GOSUB _ButtonPressed
UNTIL E=-1
As you will understand how to proceed, it would be highly appreciated if you could write a better tutorial
Cheers,
aldweb