Window properties

To view window properties, be sure the Properties window is open. Select the arrow tool from the Toolbox and click in the layout window outside of the window’s area to select the window. The window is selected when resize handles appear on its perimeter. The following table lists the window properties.

[spacer]

Object property

Description

AutoLinkTable

Indicates the table auto-linked to the window. Specify an auto-linked table if you want users of your application to be able to use the Modifier to add fields from the auto-linked table to the window.

The best table to auto-link to a window is the source or destination of most of the information displayed in the window. The information from the auto-linked table should be copied to the window fields using the copy from table statement. It should be copied from the windows to the auto-linked table using the copy to table statement. Otherwise, when Modifier users drag fields from the auto-linked table to the window, the contents of the fields won’t be updated or saved.

AutoOpen

If set to true, the window opens automatically when the form opens. By default, this value is set to true.

CloseBox

If set to true, the close box on the window will be active.

HelpContextID

Lists the help context ID value for the window.

Name

The name of the window. This name is used to refer to the window in scripts.

Resizeable

If set to false, the window cannot be resized by the user. If set to true-automatic, the window can be resized and the appropriate fields will be resized automatically. If set to true-per field, the window can be resized, but the resize characteristics must be specified for each individual field.

Title

The name that is displayed in the title bar of the window at runtime.

WindowID

Lists the resource ID of the window.

WindowType

Indicates what type the window is. It can be one of the following: Primary, Modal Dialog, Modeless Dialog, Lookup, Palette, Toolbar or Wizard.


[spacer]

Visual property

Description

BackColor

If set to true, sets the background area of the window to light gray. If set to false, the background of the window will be white.

ControlArea

If set to true, a dark gray band called the control area will be displayed across the top of the window.Often, push buttons are placed in the control area.

Position-Left

Indicates the position of the left edge of the window, measured in pixels from the left edge of the screen.

Position-Top

Indicates the position of the top edge of the window, measured in pixels from the bottom edge of the toolbar. For toolbar windows, the position is relative to the bottom edge of the menu bar.

Size-Height

Indicates the window height, measured in pixels.

Size-Width

Indicates the window width, measured in pixels.



Documentation Feedback