Non-Property Control Attributes

This topic describes simple property controls found in the Tools Palette and the attribute values that you can edit for these controls.

Label Control

The Label control provides a textual label for another control; it cannot be created before the control with which it is to be associated. Label controls serve as descriptions for Text Field, Text Area, Combo Box, and List controls; these controls do not have built-in captions, labels, or other descriptive text.

Because an access key requires a textual label, the access key property is assigned to the Label control rather than the controls with no built-in caption text. Info Tips may be assigned to both the label and the property control.

Attributes:

Control List

The control with which this label is associated.

Caption

(optional) The text displayed in the control.

Access Key

(optional) A single character to be used in conjunction with the Alt key to bring focus to the field. The character must exist within the caption text; it will appear underlined in the caption when rendered. Additionally, each access key on a tab must be unique.

Info Tip

(optional) Text that will appear in a tip pop-up when the mouse pointer hovers over the control. If no text is entered, no pop-up tip help is displayed.

Image Control

The Image control enables you to embed an image, such as a logo, onto the form. The Layout Designer supports .gif and .jpg formats.

Attributes:

Image

Available under normal circumstances; Unavailable if image data is missing or corrupted.

Content Type

The format of the image (.gif or ..jpg).

Group Control

If your first section includes multiple subtopics, introduce what the reader will encounter in the text.

Attributes:

Horizontal Align

(optional) The default horizontal alignment of child controls within the group (left or right).

Vertical Align

(optional) The default vertical alignment of child controls within the group (top, middle, or bottom.)

Border

(optional) The border style for the control (Solid, Etched, or None). The default is none.

Caption

Descriptive text for the control.

Label Position

The position of caption text (above or below). The default is above.

Text Align

The alignment of caption text (left or right).

Static Text Control

The static text control is unique in that it can be either a property or non-property control. As a property control, it displays the value of a property without allowing the user to make changes. As a non-property control, it can be used to display a line of text on the form.

Attributes:

Caption

Leave blank for property controls. Use a Label control for descriptive text.

Text Align

(optional) Determines the alignment of displayed text (left or right).