< Previous | Contents | Next >
None
InTextEntry = self:AddInput("Type Your Text", "Text", { LINKID_DataType = "Text",
INPID_InputControl = "TextEditControl",
INPS_DefaultText = "hello", -- use instead of INP_Default! TEC_Lines = 3, -- height of text entry (default is 8)
TEC_Wrap = true, -- automatic word-wrapping (default is false)
TEC_ReadOnly = true, -- default is false (you should also set INP_ External = false)
TEC_CharLimit = 40, --maximum number of allowed characters (default is 0, no limit)
TEC_DeferSetInputs = true, -- call NotifyChanged when focus is lost (default is
false, call on every keystroke)
})