Control - Frame

This topic describes the associated properties of the Frame 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.

Y Position

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

X Position

This property specifies the x 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.

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.