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