Difference between revisions of "Lua:Class:Edit"
Jump to navigation
Jump to search
m (moved Edit to Lua:Class:Edit) |
(→Related Classes) |
||
Line 20: | Line 20: | ||
=== Related Classes === | === Related Classes === | ||
− | [[Memo]] | + | * [[Lua:Class:Memo|Memo]] |
Revision as of 01:26, 25 January 2018
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
Text: string - The current contents of the editfield OnChange: function - The function to call when the editfield is changed
Methods
clear() selectAll() clearSelection() copyToClipboard() cutToClipboard() pasteFromClipboard() onChange(function)