Sunday, September 03, 2006

DelayMe

This not a clever function. It will loop, consuming CPU time, until the specified time is elapsed. None the less is does provide a primitive one-time, short-time pause while your user contemplates the status of, say, a document thrown on the screen for a short interval.

If you want to have the CPU carry on processing during your brief delay, you should use a function other than this.

Sub test()
Call UW.WD_Miscellaneous.DelayMe(6)
MsgBox "here"
End Sub

0 Comments:

Post a Comment

<< Home