I have a series of messages that I want to display to the user with an [Continue] button, once the user reads the message and hits [Continue] button, then the next message appears.
I am using Panels to display the custom messages with pictures etc. However, I need the code to pause and wait for the [Continue] button event to fire off the next message.
Could I create a loop such as below…
Dim tmpContinue as Boolean
While tmpContinue = False
Would this work and then once the user clicks the [Continue] Button on the panel, that event changes the “tmpContinue = TRUE, and the code moves forward? Then I just keep resetting the variable for each message and run the loop.
I am using Panels to display the custom messages with pictures etc. However, I need the code to pause and wait for the [Continue] button event to fire off the next message.
Could I create a loop such as below…
Dim tmpContinue as Boolean
While tmpContinue = False
DoEvents
LoopWould this work and then once the user clicks the [Continue] Button on the panel, that event changes the “tmpContinue = TRUE, and the code moves forward? Then I just keep resetting the variable for each message and run the loop.