PDA

View Full Version : how to wait for a specific number of seconds


cgirolet
08-17-2008, 03:57 AM
is there a function in ams 7.0 to wait for a specific number of seconds before doing something. i thought there was a wait() or pause() function in ams 7.0, searched the help file but didn't find anything

any ideas

claude

HMMurdock
08-17-2008, 04:35 AM
I believe you are looking for Application.Sleep()

clueless
08-17-2008, 08:14 AM
You could put the code for what you want happen after the pause into the page.Ontimer section of your program and then call Page.StartTimer(1000).
1000 = 1 second.