Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Message Box Decision
Message
De
16/11/2004 06:04:01
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00961641
Message ID:
00961642
Vues:
9
Neil

Check return value of messagebox. It returns 6 for Yes and 7 for No. If you include foxproh.H thera are constants IDNo and IDYes.

Agnes

>I have a message box with Yes and No buttons to delete a record in a grid.
>
>
>MESSAGEBOX("Are you sure you want to delete this contact?",4,'Delete contact')
>
>
>I would like to delete the record if yes. How do I test whether yes or no has been pressed on the message box?
>
>Many Thanks
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform