Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Clear buffer of mouse clicks
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00176355
Message ID:
00176868
Views:
36
Hi Fred,

>No, I have not tried your test. The "processing" I was referring to was SQLs to build a cursor for a report and running the report. When I used to return from the report, if the user had pressed the button while this was going on, the report would run again. DOEVENTS stopped that for me.

One explaination I could think of is: VFP does not allow recursive firing of an event. When you are in an event, the same event won't fire again. With DOEVENTS you force VFP to process events right now, but it can't fire the Click event, because you are executing it. Since now the event is processed, it won't be saved as usual and therefore won't be executed after the report.

Christof
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform