Event that occurs just before Amos Graphics displays certain message boxes.
Syntax
pd.AboutToShowMsgBox (messageID, prompt, theMessageBoxResult)
The AboutToShowMsgBox method syntax has the following parts:
Part |
Description |
messageID |
(Integer) A number that identifies the message that is about to be displayed. At present, messageID=1 is the only value that occurs. |
prompt |
The text that is about to be displayed in a message box. |
theMessageBoxResult |
(Of type Windows.MessageBoxResult) If you set theMessageBoxResult=None, Amos Graphics will display the message box. If you set theMessageBoxResult to a value other than None, Amos Graphics will not display the message box. Instead, Amos Graphics will execute the code that would have been executed if the message box had been displayed and the user had clicked the response button corresponding to theMessageBoxResult. |
Settings
The settings for messageID are:
Value |
Description |
1 |
"Do you want to save your work?..." |
See example.