ElementsContent & layout
AddLabel
Adds general-purpose text with optional wrapping, rich text, alignment, and icon styling.
AddLabel
What it does
Adds general-purpose text with optional wrapping, rich text, alignment, and icon styling.
When to use it
Use it for headings, captions, instructions, and static information that does not need interaction.
ElementFunction:AddLabel(LabelConfig)
LeftGroup:AddLabel("Core controls")Behavior and return value
Call this method on the compatible section, tab, panel, or element container shown by the signature. Store the returned value when you need to update, read, or destroy the element later.
Fields marked optional may be omitted. XLQP then uses the method’s built-in default or leaves that feature disabled.