Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Messagebox return value
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00746615
Message ID:
00746630
Views:
18
This message has been marked as the solution to the initial question of the thread.
Hi John.

According to help...
Return value  Button 
     1        OK 
     2        Cancel 
     3        Abort 
     4        Retry 
     5        Ignore 
     6        Yes 
     7        No 
lnReturn = MESSAGEBOX("Continue?", 4+32)
lnReturn would be 6 if Yes and 7 if No.

HTH

Dan

>When using a messagebox with yes and no buttons... how do you know the return value?
Previous
Reply
Map
View

Click here to load this message in the networking platform