Lua:Class:Edit
Revision as of 01:50, 25 January 2018 by TheyCallMeTim13 (talk | contribs)
Edit Class: (Inheritance: WinControl->Control->Component->Object)
createEdit(owner): Creates an Edit class object which belongs to the given owner. Owner can be any object inherited from WinControl
Properties[edit]
Text: string - The current contents of the editfield OnChange: function - The function to call when the editfield is changed
Methods[edit]
clear() selectAll() clearSelection() copyToClipboard() cutToClipboard() pasteFromClipboard() onChange(function)