Hi everyone,
I'm trying to make 2 or more modeless forms and switching between these forms. If I have a program like this:
****************************
...
...
do mainmenu && this is modeless form
read events
clear
close all
return
****************************
On the "mainmenu" form, I have Exit button that "clear events". The problem is I need to have 2 or more modeless forms to do some other tasks form "mainmenu" buttons. I cannot stop the program at some point to do some other things. It just goes on and execute the next line in the program. I need to be able to make change on the modeless form first and then click return to close it. How do I use the "read events" command for this problem?
Thank you in advance.
I'm trying to make 2 or more modeless forms and switching between these forms. If I have a program like this:
****************************
...
...
do mainmenu && this is modeless form
read events
clear
close all
return
****************************
On the "mainmenu" form, I have Exit button that "clear events". The problem is I need to have 2 or more modeless forms to do some other tasks form "mainmenu" buttons. I cannot stop the program at some point to do some other things. It just goes on and execute the next line in the program. I need to be able to make change on the modeless form first and then click return to close it. How do I use the "read events" command for this problem?
Thank you in advance.