Lua:createToggleBox
Jump to navigation
Jump to search
<> Reference
function createToggleBox(owner) : ToggleBox
Creates a ToggleBox control.
The new ToggleBox belongs to the supplied owner. The owner must inherit from WinControl.
Function Parameters
| Parameter | Type | Description |
|---|---|---|
| owner | WinControl | The parent/owner of the new ToggleBox. |
Returns
ToggleBox — The newly created ToggleBox object.
Examples
local form = createForm() local toggle = createToggleBox(form) toggle.Caption = "Toggle overlay"
See Also
Main Pages