Lua:createTrackBar
Jump to navigation
Jump to search
<> Reference
function createTrackBar(owner) : TrackBar
Creates a TrackBar (slider) control.
The new TrackBar 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 TrackBar. |
Returns[edit]
TrackBar — The newly created TrackBar object.
Examples[edit]
local form = createForm() local track = createTrackBar(form) track.Min = 0 track.Max = 100 track.Position = 25
See Also[edit]
Main Pages