Bootstrap

Message Box

MessageBox(style, title, message_set, message_num, default_txt [, paramlist])

In addition, in the PeopleSoft Pure Internet Architecture the Message
Severity dictates how the message displays:

If the message has a severity of Warning, Error or Cancel, the message is
displayed in a pop-up dialog box with a single OK button regardless of the
value of the style parameter.

If the message has a severity of Message and style is %MsgStyle_OK (0),
the message displays in a pop-up dialog box with the single OK button.

If the message has a severity of Message and style is not %MsgStyle_OK
(0), the message displays in a separate window


Buttons
0
%MsgStyle_OK
The message box contains one pushbutton: OK.
1
%MsgStyle_OKCancel
The message box contains two pushbuttons: OK and Cancel.
2
%MsgStyle_AbortRetryIgnore
The message box contains three pushbuttons: Abort, Retry, and Ignore.
3
%MsgStyle_YesNoCancel
The message box contains three pushbuttons: Yes, No, and Cancel.
4
%MsgStyle_YesNo
The message box contains two push buttons: Yes and No.
5
%MsgStyle_RetryCancel
The message box contains two push buttons: Retry and Cancel.
Buttons
0
%MsgStyle_OK
The message box contains one pushbutton: OK.
1
%MsgStyle_OKCancel
The message box contains two pushbuttons: OK and Cancel.
2
%MsgStyle_AbortRetryIgnore
The message box contains three pushbuttons: Abort, Retry, and Ignore.
3
%MsgStyle_YesNoCancel
The message box contains three pushbuttons: Yes, No, and Cancel.
4
%MsgStyle_YesNo
The message box contains two push buttons: Yes and No.
5
%MsgStyle_RetryCancel
The message box contains two push buttons: Retry and Cancel.

转载于:https://www.cnblogs.com/GoDevil/archive/2009/05/21/1486475.html

;