Difference between revisions of "Lua:Class:Edit"

From Cheat Engine
Jump to navigation Jump to search
(Properties)
m (Reverted edits by Said (Talk) to last revision by Dark Byte)
Line 2: Line 2:
 
createEdit(owner): Creates an Edit class object which belongs to the given owner. Owner can be any object inherited from WinControl
 
createEdit(owner): Creates an Edit class object which belongs to the given owner. Owner can be any object inherited from WinControl
  
'0A 2A D2 A2 A0 A2 A0 24 0A A1
+
===Properties===
 +
  Text: string - The current contents of the editfield
 +
  OnChange: function - The function to call when the editfield is changed
  
 
===Methods===
 
===Methods===

Revision as of 17:35, 31 August 2015

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

Memo