Lua:Class:Button
Jump to navigation
Jump to search
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)