Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DOEVENTS()
Message
From
15/02/2001 07:03:27
 
 
To
15/02/2001 07:00:41
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00476198
Message ID:
00476200
Views:
24
I think that you need an EXIT command in the IF MDOWN() to exit out of the SCAN/ENDSCAN block.

>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
Thanks,
Dan Jurden
djurden@outlook.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform