PDA

View Full Version : Display a screen, wait, then move on


Tek
02-28-2005, 03:54 PM
I'm having trouble getting something to work.

I want to display a screen that shows the progress of an OS modification, wait for 'x' number of seconds, then move on to the next screen on the list... without user intervention.

The previous screen is the 'While Installing' screen, so this is my first screen after it. There will be more screens after this one that I need to do the same thing.

Basically,

Installing Files...
Display Screen 1, perform an action, wait for 1 second...
Display Screen 2, perform an action, wait for 1 second...
Display Screen 3, perform an action, wait for 1 second...
Display Finished Screen 1, wait for 'Next'...
Display Finished Screen 2

How can I accomplish this?

Brett
03-01-2005, 09:07 AM
Add a "Progress Bars" screen. Then do your actions in the On Start event. In the On Finish event enter:

nSeconds = 4;
Application.Sleep(nSeconds * 1000);
Screen.Next();

Tek
03-01-2005, 10:19 AM
Thanks Brett. Works great!

Thanks for the help.