LavishGUI:InputBox (Command)

From Lavish Software Wiki
Jump to navigation Jump to search

Syntax

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

InputBox [-template <name>] <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.

To make the InputBox use a custom template specify the name with the -template switch.

Examples

  • InputBox "What is your name?"
  • InputBox "What year were you born?" "19"
  • InputBox -template myinputbox "Am I being nosey?" "yes"

See Also