Groupbox object

The Groupbox widget visually groups related controls

Event Description
Groupbox:onClick() Event occurs when the user clicks on the Groupbox
Groupbox:onCreate() Event fired when Groupbox has just been created
Groupbox:onDrop() Event fired when the Groupbox received a drag and drop content
Groupbox:onHide() Event fired when the Groupbox is hidden
Groupbox:onMouseDown() Event fired when the user presses a mouse button over the Groupbox
Groupbox:onMouseUp() Event fired when the user releases a mouse button over the Groupbox
Groupbox:onShow() Event fired when the Groupbox is shown
Property Description Access Type
Groupbox.align Align the Groupbox relative to its parent readwrite boolean
Groupbox.allowdrop Controls whether the Groupbox is a drag and drop target readwrite boolean
Groupbox.childs Get a list of the Groupbox childs widgets readonly table
Groupbox.enabled Controls whether the Groupbox responds to mouse and other events readwrite boolean
Groupbox.font Get/set the Groupbox font readwrite string
Groupbox.fontsize Get/set the Groupbox font size readwrite number
Groupbox.fontstyle Get/set the Groupbox font style readwrite table
Groupbox.height Get/set the Groupbox's height readwrite number
Groupbox.parent Get the Groupbox's parent widget readonly
Groupbox.text Get/set the Groupbox text content readwrite string
Groupbox.visible Controls whether the Groupbox appears on screen readwrite boolean
Groupbox.width Get/set the Groupbox's width readwrite number
Groupbox.x Get/set the Groupbox's horizontal position readwrite number
Groupbox.y Get/set the Groupbox's vertical position readwrite number
Methods Description Return value
Groupbox:center() Centers the Groupbox on the parent widget -
Groupbox:constructor() Groupbox object constructor
Groupbox:hide() Hides the Groupbox -
Groupbox:show() Shows the Groupbox -
Groupbox:toback() Puts the widget to the back -
Groupbox:tofront() Brings the widget in front -