Aztec® Programming Language
Version 1.1 Alpha 2

Copyright © 2010-2017, Aztec Development Group, All Rights Reserved

Download Aztec

Search        Contact Us

Maybe if I told you the right words...

At the right time... you'd be mine.

- Tracy Chapman

 

aztec.ui.GroupBox

public class GroupBox from<Control>

Base

Window

Control

GroupBox

The GroupBox class provides a simple but effective grouping control. Its role is to be a parent to any number of other controls. A box is drawn around the entire group box with a title in the top left corner. GroupBox is very useful for breaking a window into multiple sections, and is also useful for grouping radio buttons together.

 

The "usable" portion of the GroupBox window, where new controls can be placed, is reduced in size to fit just inside the box. The Width() and Height() methods return the size of this "usable" area and the TotalWidth() and TotalHeight() methods return the overall size of the GroupBox, including the box.The following example shows an Editor control placed inside a GroupBox control. The Editor is placed at position 1,1 and the width and height of the Editor control is equal to the Width() and Height() of the GroupBox control.

 

Origin for Child Windows in GroupBox

 

 

The GroupBox control can have any type of control as a child.

 

Valid Child Windows for GroupBox

GroupBox Methods

GroupBox() Constructor for the GroupBox class

Derived Classes

See Also

 


GroupBox()

public method GroupBox(Window Parent, int XPos, int YPos, int Width, int Height, string TextString)

Parameters

Parent

Parent window for the group box control

XPos

One based X position of control relative to parent

YPos

One based Y position of control relative to parent

Width

Initial width of the control in pixels

Height

Initial height of the control in pixels

TextString

Initial string to be used in the edit box

Return Value

None

Description

Constructor for the GroupBox class. A box is drawn around the entire group box control, and the TextString is used as the title of the box.

 

GroupBox Class

 

Copyright © 2010-2017

Aztec Development Group

All Rights Reserved

Download Aztec