Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Messagebox with custom captions?
Message
From
06/02/2012 18:04:49
 
 
To
06/02/2012 18:01:53
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01533427
Message ID:
01534620
Views:
55
>>
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform