Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Messagebox
Message
 
 
To
02/09/2003 07:19:11
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00825228
Message ID:
00825548
Views:
22
Rakesh,

If you use the constants in foxpro.h it's a lot more readable:
nYn=messagebox("Add New", MB_YESNO + MB_DEFBUTTON2,"New")

if ( nyn = IDYES )
   * picked yes
else
   * picked no
endif
6 is not a valid option for the second parameter, I get just a single Ok button, not Yes/No buttons.

>nYn=messagebox("Add New",6,"New")
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform