Difference between revisions of "Lua:Class:Button"

From Cheat Engine
Jump to navigation Jump to search
(Create page for Button class)
 
(Update inheritence link)
 
Line 1: Line 1:
 
[[Category:Lua]]
 
[[Category:Lua]]
'''Button Class''': (Inheritance: ''[[ButtonControl]]'' > ''[[WinControl]]'' > ''[[Control]]'' > ''[[Component]]'' > ''[[Object]]'')
+
'''Button Class''': (Inheritance: ''[[Lua:Class:ButtonControl|ButtonControl]]'' > ''[[WinControl]]'' > ''[[Control]]'' > ''[[Component]]'' > ''[[Object]]'')
  
 
<span style="color:red; font-weight:bold; font-style:italic;">WARNING: This page may be incomplete.</span>
 
<span style="color:red; font-weight:bold; font-style:italic;">WARNING: This page may be incomplete.</span>

Latest revision as of 15:13, 14 February 2019

Button Class: (Inheritance: ButtonControl > WinControl > Control > Component > Object)

WARNING: This page may be incomplete.

Description[edit]

The button class is a visual component in the shape of a button.

Creation[edit]

createButton(owner) : Button
Creates a Button class object which belongs to the given owner. Owner can be any object inherited from WinControl.

Properties[edit]

ModalResult : ModalResult
The result this button will give the modalform when clicked.

Methods[edit]

getModalResult(button) : ModalResult
setModalResult(button, mr)

See also[edit]

Related Classes[edit]