Difference between revisions of "LavishGUI:MessageBox (Command)"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
Pops up a message box with the indicated buttons (OK by default), displaying the given text. | Pops up a message box with the indicated buttons (OK by default), displaying the given text. | ||
− | When used in a script, sets the UserInput Top-Level Object to the user response -- "OK", "Cancel", "Yes", or "No" (can also be NULL if the message box is destroyed). | + | When used in a script, sets the [[ISSession:UserInput (Top-Level Object)|UserInput]] Top-Level Object to the user response -- "OK", "Cancel", "Yes", or "No" (can also be NULL if the message box is destroyed). |
== Examples == | == Examples == | ||
Line 15: | Line 15: | ||
== See Also == | == See Also == | ||
+ | *[[ISSession:UserInput (Top-Level Object)|UserInput]] | ||
+ | *[[ISSession:InputBox (Command)|InputBox]] | ||
*[[LavishScript:Commands|LavishScript Commands]] | *[[LavishScript:Commands|LavishScript Commands]] | ||
*[[IS:Session#Commands|Inner Space Session Commands]] | *[[IS:Session#Commands|Inner Space Session Commands]] |
Revision as of 20:32, 3 June 2005
Contents
Syntax
UI | |
Usage | Intermediate |
Level of Understanding | Intermediate |
Computer Savvy | Intermediate |
Logic | Intermediate |
MessageBox [-ok|-okcancel|-yesno] <text>
Description
Pops up a message box with the indicated buttons (OK by default), displaying the given text.
When used in a script, sets the UserInput Top-Level Object to the user response -- "OK", "Cancel", "Yes", or "No" (can also be NULL if the message box is destroyed).
Examples
- MessageBox "We're not going to make it, captain"
- MessageBox -ok "We're not going to make it, captain"
- MessageBox -yesno "Lower the sail?"
- MessageBox -okcancel "We're going to lower the sail"