Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Messagebox with custom captions?
Message
 
 
À
06/02/2012 18:01:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01533427
Message ID:
01534620
Vues:
54
>>
>>if MsgBoxEx("The Excel Spreasheet has " + transform(thisform.nErrors) + " errors and " + transform(thisform.nWarnings) + " warnings." + ;
>>			chr(13) + "Do you want to proceed with the " + thisform.cmdAnalyze.caption + " process?", "?", "Retail Import","Proceed,Stop") = 2
>>		llReturn = .f.
>>
>>	endif
>>
>>It used to work fine in my tests and I was getting Proceed and Stop buttons. But right now that same dialog displayed 'Yes' and 'No' buttons although it still worked.
>
>Hi Naomi,
>
>Please edit the MSGBOXEX function, and add an "INKEY(.1)" as the 2nd line of code, immediately after the PARAMETERS statement, and let me know how it goes

I got 'Proceed', 'Stop' now, so may be it fixed the problem. I'll keep an eye if I get the same issue again.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform