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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB Delay command 1

Status
Not open for further replies.

Reaper2050

Programmer
May 25, 2012
12
Hi All,

What will be the best to use in Clarion like the VB delay command?

In VB they have delay 0.01

Is it best to use the Timer event on the window to delay?

Thanks in advance,
Adriaan
 
Hi!

You need to use the SLEEP Windows API for that.

In the Global MAP:

MODULE('WinAPI')
sjSleep(UNSIGNED xMilliSeconds),PASCAL,NAME('SLEEP')
END

Usage:

sjSleep(100) ! sleep for 0.01 secs

Regards

 
Hi Shankar

Thank you very much. It was just what I needed. Sorry for late reply.

Regards,
Adriaan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top