Difference between revisions of "Lua:Class:Edit"

From Cheat Engine
Jump to navigation Jump to search
Line 17: Line 17:
  
  
===See also===
+
{{LuaSeeAlso}}
 +
 
 +
=== Related Functions ===
 
[[Memo]]
 
[[Memo]]
 
 
----
 
 
* [[Lua|Lua Functions and Classes]]
 

Revision as of 21:51, 19 March 2017

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)


See also

Related Functions

Memo