Lua:Class:Label

From Cheat Engine
Revision as of 01:59, 25 January 2018 by TheyCallMeTim13 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Label Class (Inheritance GraphicControl->Control->Component->Object)

The Label class is a visual component that lets you display text

createLabel(owner): Creates a Label class object which belongs to the given owner. Owner can be any object inherited from WinControl


Examples[edit]

local forms = createForm()
local labels = createLabel(forms)
control_setCaption(labels, "My first label")


See also[edit]