To open this page, click the Class - Type tab in the Window properties box.
Lists
Class
Window class.
Possible values:
Dialog |
Dialog box; corresponds to the windows created in version 8.2. |
Main |
Main window that can contain child windows in its client area. |
Child |
Child window of a main window, truncated to fit inside its client area. |
You can only select the Main window class if the window contains no tabs or objects.
Java representation
This parameter only relates to Dialog box class windows for programs compiled in Java.
It lets you specify which Java class will be used when the program is run on a Java platform.
Possible values:
Dialog box |
Prevents a button from being created in the task bar for each window. The window will have a title bar with a close box; however, it may not have minimize and restore boxes, depending on the platform and whether the window is run modally or non-modally. |
Window |
Provides full support of the minimize and restore functions; a button is created in the task for each minimized window. |
Parent window
This setting only concerns Child class windows. It lets you specify a window as the parent when the child window is created.
When a program is called, all of its windows are created immediately, in the order represented by the program's tree view.
Possible values:
Most recently-created main window |
The parent window is the most recently-created main window. |
Last active main window |
The parent window is the main window most recently activated by the user. This option is useful in situations where a child window can be used by multiple main windows of the same application. |
Default value: "Most recently-created main window".
Type
Displays the layout type.
Possible values:
Simple |
The layout will contain only one page. |
Tabs |
The layout will contain more than one page. |
The list is not active if the window belongs to the Main window class.
Position
Used with tabbed windows to specify the position of the tabs on the page. This list is only enabled with "Tab" layouts.
Data entry
Tab
This field is only active with "Tabs" type layouts.
If you select a number, the text in the corresponding tab will be displayed.
Note: When you define a "Tabs" type layout, only one tab will be created by default. To create additional tabs, you will have to select the Add tab option in the layout's context-sensitive menu.
Text
Text in the tab whose number appears in the "Tab" field.
This field is only active with "Tabs" type layouts.
Left margin
Size in pixels of the space between the inner left-hand edge of the window and the tab's left-hand edge.
This field is only active with "Tabs" type layouts.
Top margin
Size in pixels of the space between the top edge of the area in the window that can contain objects and the tab's top edge.
This field is only active with "Tabs" type layouts.
Bottom margin
Size in pixels of the space between the inner edge of the bottom of the window and the tab's lower edge.
This field is only active with "Tabs" type layouts.
Right margin
Size in pixels of the space between the inner right-hand edge of the window and the tab's right-hand edge.
This field is only active with "Tabs" type layouts.
Check boxes
Multiple line
Specifies whether tabs are displayed on a single line or on several lines. If they are shown on a single line, a spin button is displayed if necessary, to provide access to the hidden tabs. This property MUST be *TRUE when the tabs are arranged on the right or left of the page.
This check box is only enabled with "Tab" layouts.
Buttons
Font
Specifies the character font used to display the text contained in tabs. The format specifies the name, size, style and script (Western, Greek, Turkish, etc.).
See also Properties of the Window Graphical Object.