Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Messagebox with custom captions?
Message
 
 
À
30/01/2012 07:39:25
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:
01534582
Vues:
85
>>Hi everybody,
>>
>>Do you know what can I use to have custom buttons' captions for the MessageBox? Preferrably a solution without external dependencies, which I can easily plug.
>>
>>Thanks a lot in advance.
>
>
>
>Here's the updated post, without the need of an external FLL, and with source code link attached
>
>Extended Messagebox() function reviewed
>http://weblogs.foxite.com/vfpimaging/2012/01/30/extended-messagebox-function-reviewed/

I got an interesting problem. I added this code into my utility program:
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.
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