Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Create an other Thread in the VFP?
Message
 
 
To
29/04/2002 10:18:34
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00640247
Message ID:
00650370
Views:
20
See FIX: DOEVENTS Command Runs Slowly mskb #Q268771.

>>Thanks,Hilmar
>>
>>DoEvents,may be I can use it!!!
>
>I tried this, and it works (the user can click on a button while your program runs). However, it makes the program quite slow. I use VFP 6, and Vlad G. says the speed problem has been solved in VFP 7.
>
>A workaround for VFP 6 might be to issue DoEvents with less frequency. Something like this:
>
>
>select ... into cursor RecordsToProcess
>scan
>  if recno() % 100 = 0 && only once every 100 records
>    DoEvents
>  endif
>endscan
>
>
>Hilmar.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform