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
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...