Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stop the Do..While Loop using command button
Message
From
21/09/2005 22:04:18
 
 
To
21/09/2005 21:56:46
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01051828
Message ID:
01051831
Views:
6
Hi,
DO WHILE Something AND NOT THISFORM.lCancel
   *** Do something

   DOEVENTS
ENDDO

PROCEDURE cmdStart.Click()
   THISFORM.lCancel = .F.
ENDPROC

PROCEDURE cmdStop.Click()
   THISFORM.lCancel = .T.
ENDPROC
HTH
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...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform