Lua:Class:Button
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)