ElementsControls
AddActionRow
Adds a horizontal row of related action buttons to the current container.
AddActionRow
What it does
Adds a horizontal row of related action buttons to the current container.
When to use it
Use it for compact toolbars, confirm/cancel actions, or several commands that belong together.
ElementFunction:AddActionRow(RowConfig)
LeftGroup:AddActionRow({
Name = "Progress Actions",
Outline = true,
Buttons = {
{Name = "Start", Callback = function() FakeDownload:Download(5) end},
{Name = "Pause", Callback = function() FakeDownload:Pause() end},
{Name = "Resume", Callback = function() FakeDownload:Resume() end},
{Name = "Reset", Callback = function() FakeDownload:Cancel(true) end}
}
})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.