TextInputEvent
Package: Libraries.Interface.Events · Inherits from: Libraries.Language.Object
Actions
GetText()
Returns
text
GetUnicodeValue()
Returns
integer
SetKeyUsed(boolean used)
This action indicates if the text input from this event was produced using a keypress that has already been used to trigger a Behavior elsewhere in the engine. For example, pressing CONTROL + SPACE in a code editor text box might open code completion, and then also produce a "Space" text input -- in this case, this value would return true.
Parameters
usedboolean
SetText(text newValue)
Parameters
newValuetext
SetUnicodeValue(integer value)
Parameters
valueinteger
WasKeyUsed()
This action indicates if the text input from this event was produced using a keypress that has already been used to trigger a Behavior elsewhere in the engine. For example, pressing CONTROL + SPACE in a code editor text box might open code completion, and then also produce a "Space" text input -- in this case, this value would return true.
Returns
boolean