MessageBoxCustom Category

The global constants for customized message boxes are listed in the following table. (For more details, see the Application class msgBoxCustom method in Chapter 1 of the JADE Encyclopaedia of Classes.)

Global Constant Integer Value Description
MsgBoxCustom_Cancel_None 0 There is no Cancel button (the default), and pressing Esc will be ignored
MsgBoxCustom_Cancel_One 1 First button is the Cancel button
MsgBoxCustom_Cancel_Two 2 Second button is the Cancel button
MsgBoxCustom_Cancel_Three 3 Third button is the Cancel button
MsgBoxCustom_Cancel_Four 4 Fourth button is the Cancel button
MsgBoxCustom_Cancel_Five 5 Fifth button is the Cancel button
MsgBoxCustom_Default_First MsgBox_Default_First (0) First button is the default button (default)
MsgBoxCustom_Default_Second MsgBox_Default_Second (256) Second button is the default
MsgBoxCustom_Default_Third MsgBox_Default_Third (512) Third button is the default
MsgBoxCustom_Default_Fourth #300 Fourth button is the default
MsgBoxCustom_Default_Fifth #400 Fifth button is the default
MsgBoxCustom_Icon_Exclamation_Mark MsgBox_Exclamation_Mark_Icon Displays the exclamation icon
MsgBoxCustom_Icon_Information MsgBox_Information_Icon Displays the information icon
MsgBoxCustom_Icon_Question_Mark MsgBox_Question_Mark_Icon Displays the question mark icon
MsgBoxCustom_Icon_Stop MsgBox_Stop_Icon Displays the stop icon
MsgBoxCustom_Return_One 1  
MsgBoxCustom_Return_Two 2  
MsgBoxCustom_Return_Three 3  
MsgBoxCustom_Return_Four 4  
MsgBoxCustom_Return_Five 5  

The MsgBoxCustom_Return_ global constants can be used to return and test the value of the clicked button.