Common Properties of Controls

The following properties are found in to a number of controls:

Align

choose the part of the form to which the control will be aligned. Settings include: None (the default); Client (fills form); Left, Right, Bottom, Top (self-explanatory); Custom.

Anchors

determines how the control will behave if a form is resized. For example, set to akBottom the control will stay a fixed distance from the bottom of the form if it is resized.

BevelEdges

Turns on bevel edge for the four sides of the control.

BevelInner

Offers four types of inner bevel for the control.

BevelKind

Offers four types of bevel design for the control.

BevelOuter

Offers four types of outer bevel for the control.

BorderStyle

Provides switch for border lines around the control.

Caption

Defines the text that will appear on the control at run time.

CharCase

Determines the case of the characters displayed in a control.

Color

Programmer can choose colour for the control.

Cursor

Allows programmer to choose different cursor for use within the control.

Enabled

Used to enable or disable a control.

Font

Font used in the control.

Height

Height of the control in pixels.

Hint

Defines the hint text that the user will see when the cursor is positioned over the control.

Left

Specifies distance of left side of control from edge of form.

Name

The name of the control. Change this to something meaningful in the context of the program.

ShowHint

If true, turns on the hint that appears when the user places the cursor over a control.

TabOrder

Defines the tab order of a control when the user presses the Tab key.

TabStop

Determines if a user can use the Tab key to move to a control.

Top

Specifies distance of control from the top of a form.

Visible

If true the control is visible on the form.

Width

The width of the control in pixels.

Back to Delphi Home