Difference between revisions of "Lua:createSplitter"

From Cheat Engine
Jump to navigation Jump to search
(Initial page creation.)
 
m
 
Line 28: Line 28:
  
 
{{LuaSeeAlso}}
 
{{LuaSeeAlso}}
 +
 +
{{Forms}}

Latest revision as of 00:47, 25 June 2026

<> 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