Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is the best way to delay/wait without halting appl
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00888836
Message ID:
00888883
Views:
11
Hi,

INKEY()

MartinJ

>>Hi,
>>
>>If my application had to wait/delay for a few second,
>>which is the best way to halt or wait without halting
>>my application.
>>
>>In the past, I use Win32 API, Sleep or SleepEx
>>which will halt my current thread. Any other
>>way to do similar thing without halting my
>>application.
>>
>>It might be using those Sleep function in my
>>application that is causing problem to some
>>my communication part using MSCOMM.
>
>If Sleep API may be causing trouble, you can try this instead to test:
>
>1) Create modal form, with an object like a button to get focus
>2) Launch this modal with Init left = -10000 (or so)
>3) Use Timer (or even WAIT WIND TIME will work for quick test) in modal button to pause, then shut the modal, via the button with thisform.release
>
>You probably get the idea. This may not be practical for real apps as described, but can work for testing.
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform