Control - Label

This topic describes the associated properties of the Label control.

Caption

This property indicates the type of caption associated with a control. The caption types are:

  • System Text
  • Language Specific Text
  • Data Dictionary Text

System Text

Allows you to specify whether the data item label or description should be used on the form. By default a label displays its label and a grid column heading displays its description.

X Position

This property specifies the x co-ordinate of the control relative to its parent and is specified in pixels.

Y Position

This property specifies the y co-ordinate of the control relative to its parent and is specified in pixels.

Width

This is the width of the control, specified in pixels.

Height

This is the height of the control, which is specified in pixels.

Fg Colour

Select any system color you want as a foreground color for your selected control. The Use Windows Systems Color box refers to colors specified in your Windows Desktop settings, which are user specific. However, if you wish to select a fixed color from the standard palette, deselect the Use Windows Systems Colour check box and select the desired color.

Note: Changing the foreground and background color within the frame properties on the Properties bar, only changes the frame caption, not the frame itself.

Bg Colour

Select any system color you want as a background color for your selected control. The Use Windows Systems Colour box refers to colors specified in your Windows Desktop settings, which are user specific. However, if you wish to select a fixed color from the standard palette, uncheck the Use Windows Systems Colour check box and select the desired color.

If Parent Bg Colour is set to True, Bg Colour is disabled.

Note: Changing the foreground and background color within the frame properties on the Properties bar, only changes the frame caption, not the frame itself.

Alt Fg Colour

Select any system color as an alternative foreground color for your selected control. You can choose from a wider selection of colors by unchecking the Use Windows System Colours box. The default system color depends on the type of control being used.

Alt Bg Colour

Select any system color as an alternative background color for your selected control. You can choose from a wider selection of colors by unchecking the Use Windows System Colours box. The default system color depends on the type of control being used.

Font Details

This property shows the style and size of the font control. From the Font Details property you can change the size of the font and any combination of Bold, Italic, and Underline. The property displays Normal if no style has been specified. You can change the default font from the View menu by selecting Form Properties.

Word Wrap

This property specifies whether text can be wrapped on word boundaries automatically. If the Word Wrap is set to False the Justification property is automatically set to Near.

Justification

This property allows you to change the justification of the text within the control. The options are Near or Far.