Tab Position (TabPos)
The Tab Position widget property determines where the tab strip
is located. By default, it is Top
.
"
TabPos=
Top
| Bottom
|
Left
| Right
"
Value | Description |
---|---|
Top
|
Displays tabs at the top of the widget |
Bottom
|
Displays tabs at the bottom of the widget. |
Left
|
Displays tabs at the left side; not supported by TabEx widget |
Right
|
Displays tabs at the right side; not supported by TabEx widget |
Usage
Dynamic? | Yes for TabEx, No for Tab |
Supported in Grid? | No |
Dependencies: |
Description
The Tab Position property is available on both the basic Tab and the extended TabEx widget, but the behavior differs:
- On the Tab widget,
Windows desktop systems have limited support for the
bottom
,left
, andright
. - On the TabEx widget, both the
top
andbottom
values are fully supported on desktop systems, but theright
andleft
values are not.
Windows Desktop Limitations
Windows desktop systems have limited support for tabs that are positioned at the bottom, or to the right or left, especially when themes are used. In this case, the Uniface tabs are displayed using the specified theme and in the correct position, but the following limitations apply:
- For the Tab widget, if Tab
Position is set to
Bottom
, the active tab has a line at the top of the tab, instead of being seamlessly joined to the content. - If Tab Position is set
to
Left
orRight
:- When the mouse cursor is positioned over an inactive tab, the tab color does not change.
- Scroll buttons are not supported.
These are Windows-related issues that Uniface has no control over.
Using in ProcScript
You can use $properties or $fieldproperties to set or get the property and its value. For more information, see $properties and $fieldproperties.
$fieldproperties(FLD) = "TabPs=bottom"