Documentation
»
Scripting
»
Class Reference
»
User Interface
»
Frame
»
messageBox
Opens a message box and waits for a response.
Syntax
aFrame
messageBox (
text
,
title
,
type
)
Parameters
text
-
String
The text to display in the message box.
title
-
String
The title of the message box.
type
-
Integer
The type of choice:
mb_ok
- "Ok" choice.
mb_ok_cancel
- "Ok" and "Cancel" choices.
mb_yes_no_cancel
- "Yes", "No" and "Cancel" choices.
mb_yes
- "Yes" and "No" choices.
Return Value
An
Integer
corresponding to the response:
id_ok
id_cancel
id_yes
id_no