D DevBaby Active Member Licensed User Longtime User May 31, 2012 #1 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 DoEventsLoop 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 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 DoEventsLoop 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.
Yafuhenk Active Member Licensed User Longtime User May 31, 2012 #2 Hi, Maybe I misunderstand you question but why don't you use something like this: Code: Msgbox2("This is the message", "This is the title", "OK", "", "", LoadBitmap(File.DirAssets, "picture.png")) Henk Upvote 0
Hi, Maybe I misunderstand you question but why don't you use something like this: Code: Msgbox2("This is the message", "This is the title", "OK", "", "", LoadBitmap(File.DirAssets, "picture.png")) Henk
K kickaha Well-Known Member Licensed User Longtime User May 31, 2012 #3 Check out agrahams excellent Dialogs library! The custom dialog should be ideal for this. Upvote 0