The text in the textbox
The display text in the textbox (readonly)
The placeholder text in the textbox
integer|number The number in the textbox (best to use with isNumeric)
If the textbox allows decimals (does not set isNumeric for you)
If the textbox only allows numbers
If the textbox allows hex numbers (does not set isNumeric for you)
If the textbox is a password field
The maximum length of the textbox
The position of the cursor in the textbox
If the textbox is focused
If the textbox is empty (readonly)
If the text has changed since the last time you checked new, reading it will set it to false (readonly)
If the user pressed enter, reading it will set it to false (readonly)
string|"valid"|"invalid"|"none" The validity of the textbox content
If the textbox has a selection (readonly)
The start of the selection, check hasSelection first (readonly)
The end of the selection, check hasSelection first (readonly)
The following function can return this type.
[Textbox] textbox = gui.newTextbox(text, placeholder, maxLength)