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 |
---|---|---|---|---|
border Defines the border type of the window. Values can be:
On Mac® platforms, using |
Yes | No | No | No |
defaultTTFColor Defines 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 |
errorMessagePosition Defines the rendering of program errors displayed with
the Values can be:
|
Yes | No | No | No |
forceDefaultSettings Indicates 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 |
hideTopMenu This style attribute can be used to hide a topmenu defined globally or for the current form. Values can be |
Yes | No | No | No |
position Indicates the initial position of the window. Values can be:
For front-ends using stored
settings, |
Yes | Yes (see notes) | No | No |
sizable Defines 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 |
tabbedContainer Values 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 |
tabbedContainerCloseMethod Defines the folder tab
method of the container when Values can be:
|
Yes | No | No | No |
thinScrollbarDisplayTime Defines 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 |
toolBarDocking Defines if the toolbar is movable and floatable. Values can be |
Yes | No | No | No |
toolBarPosition Indicates 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 |
windowOptionClose Defines 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 |
windowOptionMaximize Defines 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 |
windowOptionMinimize Defines 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 |
windowState Defines the initial state of a window. Values can be |
Yes | No | No | No |
windowType Defines the basic type of the window. Values can be:
|
Yes | Yes | No | No |