AddGroupbox

Adds a group box to a tab

Syntax

--// Main Syntax
Tab:AddGroupbox("Groupbox Name", side)

--// Other Optional Method
Tab:AddLeftGroupbox("Left Groupbox Name")
Tab:AddRightGroupbox("Right Groupbox Name")
Tab:AddMiddleGroupbox("Middle Groupbox Name")

Side parameter can be either Left, Right, or Middle

The second parameter only applies to the Tab:AddGroupbox() function.

  • <string> Name - Decides the name of a groupbox.

  • <string> Side - Can either be Left, Right, or Middle. Decides the side on which the groupbox is displayed.

Example

Code shown below is missing some critical syntax for simplicity

--// Creating a Tab
local Tab = Window:AddTab("Tab 1")

--// Create Groupboxes
local groupbox0 = Tab:AddGroupbox("Middle Groupbox", "Middle")

local groupbox1 = Tab:AddLeftGroupbox("Left Groupbox")
local groupbox2 = Tab:AddRightGroupbox("Right Groupbox")
local groupbox3 = Tab:AddMiddleGroupbox("Middle Groupbox 2")
Group Box Demo

Last updated