Lua:createSplitter

From Cheat Engine
Jump to navigation Jump to search

<> Reference

function createSplitter(owner) : Splitter

Creates a Splitter control for resizing adjacent controls.

The new Splitter 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 Splitter.

Returns[edit]

Splitter — The newly created Splitter object.

Examples[edit]

local form = createForm()
local splitter = createSplitter(form)
-- Set Align and place the splitter between resizable controls.

See Also[edit]

Main Pages

Form Related Pages