Dialogue Form Controls

Icon

Name

Description

Label

Static text control.

Edit

Single-line edit control.

Memo

Multi-line edit control.

Button

Single command button control.

CheckBox

Boolean decision button control.

RadioButton

Set of mutually exclusive choices button control.

ListBox

Fixed size, scrollable list control.

ComboBox

Drop down listbox control associated with an edit control.

It is important to note that all dialogue controls in FastReport descend from the TfrStdControl class and have a the following common set of properties and methods:

Property

Default

Description

Color

clBtnFace

Background color of the object.

Enabled

True

Enable or disable the object.

Font

-

Specifies the font associated with the text of the object.

Height

-

Specifies the vertical size of the object.

Left

-

Specifies the coordinate of the left edge of the object.

Name

-

Specifies the name of the object as will be referenced in code.

OnClick

-

Occurs when the user clicks on the object – similar to the Delphi OnClick event. Specific code instructions can be placed here using FastReport Pascal.

Restrictions

-

Set of flags associated with the control to restrict the user from modifying the object (moving, deleting, editing, etc.).

Top

-

Specifies the coordinate of the top edge of the object.

Visible

True

Determines whether the object will appear on the screen.

Width

-

Specifies the horizontal size of the object.

 

Next we will take an in-depth look at each control.