Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DOEVENTS()
Message
From
15/02/2001 07:00:41
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
DOEVENTS()
Miscellaneous
Thread ID:
00476198
Message ID:
00476198
Views:
61
Hi,
I would like to allow user to cancel a long process by clicking a "Cancel" button. I tried to use "Fast doevents" in my code as the following:
SELECT mytable

SCAN 
   **DO WATEVER
   IF MDOWN()
     DOEVENTS()
   ENDIF
ENDSCAN
I found that, MDOWN() return .T. once I click on my "Cancel" button. However, my code in cancel button.CLICK() is not fired. Any ideas?

Thank you
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Next
Reply
Map
View

Click here to load this message in the networking platform