Difference between revisions of "Lua:Class:Button"
Jump to navigation
Jump to search
AntumDeluge (talk | contribs) (Create page for Button class) |
(No difference)
|
Revision as of 15:12, 14 February 2019
Button Class: (Inheritance: ButtonControl > WinControl > Control > Component > Object)
WARNING: This page may be incomplete.
Description
The button class is a visual component in the shape of a button.
Creation
- createButton(owner) : Button
- Creates a Button class object which belongs to the given owner. Owner can be any object inherited from WinControl.
Properties
- ModalResult : ModalResult
- The result this button will give the modalform when clicked.
Methods
- getModalResult(button) : ModalResult
- setModalResult(button, mr)