Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Messagebox with custom captions?
Message
De
09/02/2012 06:54:19
 
 
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:
01534963
Vues:
72
>>>
>>>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.

Hi N,

Can you confirm if the function is working well now ?
With that last modification, here it's working well in all situations.

Cesar
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform