Top
PowerCOBOL V11.0 User's Guide
FUJITSU Software

4.3.1 Form Properties

Form properties may consist of a user-defined value, or a choice between True and False (on or off). They may also be selectable from a dropdown list containing many values.

To determine the values available for a specific form property, simply click in the property's value field. If a button appears in the far right side of the value field, click on it to view a dropdown list of available values.

The following properties are listed in alphabetical order under Property Name in the right windowpane of the Project Manager window:

Appearance

Defines whether the window (form) should appear as flat or with a 3D look when displayed on the screen.

BackColor

Defines the background color for the window.

BorderStyle

Defines the border style for the window.

Caption

Defines the title to be displayed in the title bar of the window.

ClientHeight

Specifies the current height of the window.

ClientWidth

Specifies the current width of the window.

ControlBox

Specifies whether the window will have a control box (the small boxes containing minimize, maximize and close buttons and options) when displayed.

DelayedFocusEvent

Specifies whether to delay the timing to generate the getting/losing focus events. This is used for compatibility with version 3 of PowerCOBOL.

Description (for ActiveX controls only)

Specifies the tooltip text for the ActiveX control.

DisabledFocusAction

Specifies the focus action when the Option button control is disabled. This is used for compatibility with version 3 of PowerCOBOL.

Enabled

Specifies whether the window shall be enabled (true) or disabled (false) initially.

Font

Displays the Font Properties dialog box. From here, you can select a font type, size and style.

ForeColor

Defines the foreground color of the window.

Highlight

Turns on (True) or off (False) highlighting.

HighlightColor

Defines the highlight color of the window.

Icon

Specifies an icon to be displayed when the window is minimized. A list of available icons will be displayed if you select this property.

IconName

Specifies the name of the icon associated with the window.

Left

Specifies how far from the left side of the screen the window should be displayed (typically used in conjunction with the "Top" property to select the initial position for the top left corner of the window on the screen).

MaxButton

Specifies whether the window should contain a maximize button.

MenuBarName

Specifies the name of the menubar used for the form.

MinButton

Specifies whether the window should contain a minimize button.

Mouse IconName

Specifies the name of the mouse icon.

MousePointer

Specifies which icon to use as a mouse pointer.

Movable

Specifies whether the window is movable by clicking on the title bar and attempting to drag it to a new location on the desktop.

MultipleInstance

Specifies whether to execute multiple instances of the form (window). Two or more instances of an application that include the same form may exist on a Windows system at the same time.

Name

Specifies the name of the Form.

Printable

Specifies whether the window shall be printable.

ProgID (for ActiveX controls only)

Specifies the Program ID that the ActiveX control will be registered under.

Scalable

Specifies whether to change the relative size, position and/or font size of controls on a form when the form is resized.

ScaleMode

Specifies the type of scale mode to use (pixels, mm, inches, and points) for the window.

ShowStatusBar

Specifies whether a status bar will be shown along the bottom of the window.

StartUpPosition

Specifies the start up position of the window when it is first displayed on the screen.

StatusText

Specifies the initial text to be displayed in the status bar, if the show status bar property is turned on.

TitleBar

Specifies whether the window will have a title bar displayed.

ToolboxBitmap (for ActiveX controls only)

Allows you to specify an icon to be associated with an ActiveX control when it is added to a toolbox.

Top

Specifies the positioning of the window from the top of the screen when it is initially displayed. Typically used in conjunction with the Left property to define the position of the top left corner of the window on the screen.

Topmost

Specifies whether the form is taken to the top of the Z order (the order in which windows are layers on the desktop) and is kept there.

Visible

Specifies whether the window is visible on the screen when it is first initialized.

WindowState

Specifies whether the window's initial display state should be normal, minimized or maximized.