File Control/EditBox.lua

EditBox Control Registration and Methods

Functions

SetValue (self, value, isGUI, isUpdate) Update the saved var and the control state.
UpdateText (self) Calls control:UpdateHeaderText()

Tables

Portfolio.Control.EditBox EditBox Control Registration and Methods


Functions

SetValue (self, value, isGUI, isUpdate)
Update the saved var and the control state.

Parameters

  • self: editbox control
  • value: (string) new value
  • isGUI: (boolean) called from a GUI interaction, passed to the callback
  • isUpdate: (boolean) called from control:Update(), passed to the callback

Usage:

control:SetValue(value)
UpdateText (self)
Calls control:UpdateHeaderText()

Parameters

  • self: control

Usage:

control:UpdateText()

Tables

Portfolio.Control.EditBox
EditBox Control Registration and Methods

Valid XHTML 1.0!