Group Box Properties

 

A group box is a second level header that typically appears inside a category box. Like the category box, it is designed to match the look and feel of standard Encompass360 forms. When you add controls to a group box they are automatically associated with each other. If you reposition the group box, all of the controls move with it.

Appearance

 

BackColor

The background color of the group box. Choose from web, system, or custom colors.

Font

Refers to a type family. Controls the appearance of the text including size, bold, italic, and underline. Every control inside the group box adopts this font property unless otherwise specified.

ForeColor

The color of the text. Choose from web, system, or custom colors. Every control inside the group box adopts the color property unless otherwise specified.

Behavior

 

Enabled

Sets the initial state of the field as enabled (True) or disabled (False). If set to False, all of the controls within the group box are disabled.

Visible

If set to True, the group box is visible. If set to False, the group box is not visible. If set to False, none of the controls within the group box are visible.

Border

 

BorderColor

The color of the border that displays around the group box. Choose from web, system, or custom colors.

BorderStyle

Controls the style of the border. The default property is None meaning no border is displayed.

BorderWidth

Controls the width of the border (in pixels).

Control

 

ControlID

Used to identify the control. For example, the first group box on the form will be assigned the control ID GroupBox1 while the next group box is assigned GroupBox2. You can change the control ID as needed. The ID can contain numerals or letters, but it must begin with a letter.

Header

 

HeaderBackColor

Controls the color of the group box's header (also called the group header).

HeaderFont

Refers to a type family. Controls the appearance of the group header’s text including size, bold, italic, and underline.

HeaderForeColor

The color of the group header’s text. Choose from web, system, or custom colors.

Title

The title of the group box.

Layout

 

Layout

Determines the location of the control on the form, relative to other controls (Flow) or in an absolute X and Y location (Positioned). The Flow option is most often used with category box or group box controls. For example, if the Layout of two controls is set to Flow, the first control is placed at the top-left of the form and the second is placed directly to the right or below it. If you increase or decrease the size of the control, the second control automatically moves to maintain its position next to the first. (Flow is similar to traditional HTML page layouts.)

Position

Controls the relative position (in pixels) of the group box on the form. The X value determines left to right, the Y value determines top to bottom position. Click the Position property and type values or expand the row to view the X and Y properties and make your changes.

Size

Controls the width and height of the group box (in pixels). Click the Size property and type values or expand the row to view the Width and Height properties and make your changes.