Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Messagebox with custom captions?
Message
From
09/02/2012 06:54:19
 
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:
01534963
Views:
74
>>>
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform