NumberEditLib
NumberEditLib is an object type. You don't create it directly: you get one from another call, then call its methods with a colon, e.g. field:onFocus().
Methods
Function
Description
Since
onFocus()
Function called when the focus is changed.
1.5.14
defaultStep()
Get / Set the field default step (may be adjusted by the user)
26.1.0
step()
Get / Set the field step.
1.1.0
decimals()
Get / Set the field decimals.
1.1.0
enableInstantChange()
Enable / disable the instant change (the value is only updated when the field losts the focus)
1.1.0
prefix()
Set the field prefix.
1.1.0
suffix()
Set the field suffix.
1.1.0
default()
Set the field default value.
1.1.0
minimum()
Get / Set the field minimum value.
1.6.2
maximum()
Get / Set the field maximum value.
1.6.2
help()
Set the field help text.
1.5.10
text()
Set the NumberEdit text handler.
1.5.10
Function
Description
enable()
Enable / disable the field.
focus()
Give the focus to the field.
rect()
Get the field rect.