Window style attributes: Basics
Basic presentation style attributes for window elements.
Style attributes listed in this page are general and supported on several front-end types, when the platform allows it. See also other pages about window style attributes.
| Attribute | GDC | GBC | GMA | GMI |
|---|---|---|---|---|
borderDefines the border type of the window. Values can be:
On Mac® platforms, using |
Yes | No | No | No |
defaultTTFColorDefines the default color used for TTF icons. All icons displayed in the window using this style default
get the color specified in the The value for this attribute must be an RGB specification or a named color as listed in Colors. For more details about TTF icon usage see Using a simple image name (centralized icons). |
Yes | Yes | Yes | Yes |
errorMessagePositionDefines the rendering of program errors displayed with
the Values can be:
|
Yes | No | No | No |
forceDefaultSettingsIndicates if the window content must be initialized with the saved positions and sizes. By default, windows are reopened at the position and with the size they had when they were closed. You can force the use of the initial settings with this attribute. This applies also to column position and width in tables. Values can be |
Yes | Yes | No | No |
hideTopMenuThis style attribute can be used to hide a topmenu defined globally or for the current form. Values can be |
Yes | No | No | No |
positionIndicates the initial position of the window. Values can be:
|
Yes | Yes (see notes) | No | No |
sizableDefines if the window can be resized by the user. Values can be Note: With GDC:
Note: With GBC:
|
Yes (see note) | Yes (see note) | No | No |
tabbedContainerValues can be
Note: For the GDC,
tabbedContainer=yes indicates that the WCI container must display the child application windows in
a folder tab.Note: For the GBC (WCI is not supported), if a window of an application uses
tabbedContainer=yes, every application except the one hosting the tabbed container
is embedded in a tab container generated by GBC. When using this style attribute, the GBC side bar
is replaced by the StartMenu, which is mandatory when
tabbedContainer=yes.See also Window container interfaces. |
Yes (see note) | Yes (see note) | No | No |
tabbedContainerCloseMethodDefines the folder tab
method of the container when Values can be:
|
Yes | No | No | No |
thinScrollbarDisplayTimeDefines the display time (in seconds) of the automatic scrollbar displayed when scrolling on fixed screen array (a.k.a. "Matrix") and SCROLLGRIDs. After the delay, the scrollbar disappears. A value of zero specifies an infinite time: The thin scrollbar remains visible while the record list can be scrolled (during dialog execution). A negative value specifies that the scrollbar must always be hidden.Default is 1 second. |
Yes | Yes | No | No |
toolBarDockingDefines if the toolbar is movable and floatable. Values can be |
Yes | No | No | No |
toolBarPositionIndicates the position of the toolbar, when a toolbar is defined. Values can be
"none", "chrome", "top" (default),
"left", "bottom" or "right".Note: GBC supports
only the "chrome" value for the toolBarPosition
attribute.Note: The "chrome" value is specific to GBC: It
indicates that action views must be displayed in the frame of the browser surrounding the HTML
content. This is especially used on mobile devices. See Action views with GBC. |
Yes | Yes (see note) | No | No |
windowOptionCloseDefines if the window can be closed with a system menu option or window header button. Values can be
When value
is This attribute may have different behavior depending on the front-end operating system. For example, when no system menu is used, it may not be possible to have this option enabled. |
Yes | Yes | No | No |
windowOptionMaximizeDefines if the window can be maximized with a system menu option or window header button. Values can be When value is This attribute may have different behavior depending on the front-end operating system. For example, when no system menu is used, it may not be possible to have this option enabled. |
Yes | No | No | No |
windowOptionMinimizeDefines if the window can be minimized with a system menu option or window header button. Values can be When value is This attribute may have different behavior depending on the front-end operating system. For example, when no system menu is used, it may not be possible to have this option enabled. |
Yes | No | No | No |
windowStateDefines the initial state of a window. Values can be |
Yes | No | No | No |
windowTypeDefines the basic type of the window. Values can be:
|
Yes | Yes | No | No |