Difference between revisions of "LavishGUI:InputBox (Command)"

From Lavish Software Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
 
== Syntax ==
 
== Syntax ==
{{CMD-DR|UI|Intermediate|Intermediate|Intermediate|Intermediate}}
+
{{CMD-DR|InputBox|Intermediate|Intermediate|Intermediate|Intermediate}}
 
InputBox <text> [default value]
 
InputBox <text> [default value]
  
Line 6: Line 6:
 
Pops up a window displaying the given text, with a text entry box and OK and Cancel buttons.
 
Pops up a window displaying the given text, with a text entry box and OK and Cancel buttons.
  
The UserInput Top-Level Object will be set to the input text, or NULL if Cancel is clicked.
+
The [[ISSession:UserInput (Top-Level Object)|UserInput]] Top-Level Object will be set to the input text, or NULL if Cancel is clicked.
  
 
== Examples ==
 
== Examples ==
Line 13: Line 13:
  
 
== See Also ==
 
== See Also ==
 +
*[[ISSession:UserInput (Top-Level Object)|UserInput]]
 +
*[[ISSession:MessageBox (Command)|MessageBox]]
 
*[[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:33, 3 June 2005

Syntax

Command Difficulty Rating
InputBox
Usage Intermediate
Level of Understanding Intermediate
Computer Savvy Intermediate
Logic Intermediate

InputBox <text> [default value]

Description

Pops up a window displaying the given text, with a text entry box and OK and Cancel buttons.

The UserInput Top-Level Object will be set to the input text, or NULL if Cancel is clicked.

Examples

  • InputBox "What is your name?"
  • InputBox "What year were you born?" "19"

See Also