Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I make my application pause

Status
Not open for further replies.

fergmj

Programmer
Feb 21, 2001
276
US
I need to make my application pause for a split second before it moves on. Is there a way to do this?

Thanks
 
Look at the TTimer component. James P. Cottingham

When a man sits with a pretty girl for an hour, it seems like a minute. But let him sit on a hot stove for a minute and it's longer than any hour. That's relativity.

[tab][tab]Albert Einstein explaining his Theory of Relativity to a group of journalists.
 
Use the Sleep() function.

It takes an integer for the amount of seconds to sleep in milli seconds.

For example Sleep(1000) is one second, and Sleep(500) is half a second.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top