I now have a relatively good understanding of the GUI stack using DCSB libs, however I want to give my programs more interactivity by allowing the user to interact with buttons that have been pushed to the GUI.
The problem is, I am unsure of how to provide this interactivity. My question is; supposing I push a button onto the GUI stack, how can I provide some interactivity to allow an event to happen?
Pseudo-code is as follows:
Code:
If anyone is able to help, would you mind BBCoding a couple of lines of exemplar TI-BASIC code so I can see how to create a statement in order to incorporate this technique into my programs?
Many thanks
The problem is, I am unsure of how to provide this interactivity. My question is; supposing I push a button onto the GUI stack, how can I provide some interactivity to allow an event to happen?
Pseudo-code is as follows:
Code:
If Button Is Pressed By User:
Do Event
If anyone is able to help, would you mind BBCoding a couple of lines of exemplar TI-BASIC code so I can see how to create a statement in order to incorporate this technique into my programs?
Many thanks