Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Messagebox
Message
 
 
À
02/09/2003 07:19:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00825228
Message ID:
00825548
Vues:
21
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform