functional overview
Displays a message box.
Details of Functions
In the message boxButton typeThe button specified in the "button number" field is displayed, and the button number pressed is acquired.
The title of the message box should includeTitle.The contents includeMessageis displayed.
- note
-
The order of the buttons conforms to the guidelines of each OS.
AndroidButton type (in) order of precedence OK OK OK Cancel CANCEL OK Yes No NO YES Yes No Cancel NO CANCEL YES iPhone
Button type (in) order of precedence OK OK OK Cancel OK Cancel Yes No Yes No Yes No Cancel Yes No Cancel iPad
Button type (in) order of precedence OK OK button hidden ( Tap outside the dialog to treat as OK ) OK Cancel OK Cancel button hidden
(Tapping outside the dialog box will be treated as a cancellation.)Yes No Yes No button hidden
( Tap outside the dialog to treat it as noe )Yes No Cancel Yes No Cancel button hidden
(Tapping outside the dialog box will be treated as a cancellation.)Windows
Button type (in) order of precedence OK OK OK Cancel OK Cancel Yes No Yes No Yes No Cancel Yes No Cancel
parameter
- argument (e.g. function, program, programme)
Title. character string data
Specify the title of the message box.Message character string data
Specify the content of the message to be displayed.Button type Specify the button type.
- OK
- OK Cancel
- Yes No
- Yes No Cancel
- return value
character string data
Returns the pushbutton number.