Difference between revisions of "Lua:Class:Edit"

From Cheat Engine
Jump to navigation Jump to search
(Properties)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''Edit Class''': (Inheritance: [[WinControl]]->[[Control]]->[[Component]]->[[Object]])
+
[[Category:Lua]]
createEdit(owner): Creates an Edit class object which belongs to the given owner. Owner can be any object inherited from WinControl
+
'''Edit Class''': (Inheritance: ''[[Lua:Class:WinControl|WinControl]]''->''[[Lua:Class:Control|Control]]''->''[[Lua:Class:Component|Component]]''->''[[Lua:Class:Object|Object]]'')
  
'0A 2A D2 A2 A0 A2 A0 24 0A A1
+
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===
 
===Methods===
Line 14: Line 19:
  
  
===See also===
+
{{LuaSeeAlso}}
[[Memo]]
+
 
 +
=== Related Classes ===
 +
* [[Lua:Class:Memo|Memo]]

Latest revision as of 01:50, 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[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)


See also[edit]

Related Classes[edit]