If you want the user to enter custom data you probably need the TextEdit control.
For number input only you can apply the
You can use the SetOnChange method of the TextEdit to set the name of a function you want to be called when a the text is changed.
Use the SetText and GetText functions to set and get the text in the TextEdit.
You can change the look of a TextEdit using the SetBackColor and SetTextColor functions on the TextEdit object.
You can also set a background image/pattern or background gradient for the List using the SetBackground and SetBackGradient functions. See Layouts for examples of how to use these functions.
Methods
The following methods are available on the TextEdit object:
Batch(
properties )
Focus()
GetAbsHeight() → Number: integer
GetAbsWidth() → Number: integer
GetCursorLine() → Number: integer
GetCursorPos() → Number: integer
GetHtml() → String: html code
GetLineCount() → Number: integer
GetLineStart(
line )
→ Number: integer
GetLineTop(
line )
→ Number: fraction (0..1)
GetMaxLines() → Number: integer
GetParent() → app object
GetSelectedText() → String
GetSelectionEnd() → Number: integer
GetSelectionStart() → Number: integer
GetText() → String
GetTextSize(
mode )
→ Number
GetType() → String: “TextEdit”
Gone()
Hide()
IsEnabled() → Boolean
IsVisible() → Boolean
Redo()
SetEnabled(
enable )
Show()
Undo()