Lua:Class:Edit

From Cheat Engine
Revision as of 22:50, 20 February 2015 by Dark Byte (talk | contribs) (Created page with ''''Edit Class''': (Inheritance: WinControl->Control->Component->Object) createEdit(owner): Creates an Edit class object which belongs to the given owner. Owner ca…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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)