TabStrip
The TabStrip UI element allows the display of a tab page. The user can toggle between several tab pages by selecting a specific tab. The same window is shared by all tab pages and used for displaying the content. The user can display the content of a tab by selecting a tab title.
If no selectedTab is specified in the table, or the tab specified in the selectedTab is not visible, the first visible tab is displayed instead.
This does not trigger the onSelect event, nor is the selectedTab property changed.
Example of the Visual Display
|
|
| Runtime Class |
CL_WD_TABSTRIP |
Properties in View Designer
| Name | Type | Initial Value | Bindable |
|---|---|---|---|
|
STRING |
(automatic) |
No |
|
|
Translatable text |
Yes |
||
|
WDY_BOOLEAN |
false |
No |
|
|
WDUI_CONTEXT_MENU_BEHAVIOUR |
inherit |
No |
|
|
WDY_MD_UI_ELEMENT_REFERENCE |
No |
||
|
WDY_BOOLEAN |
true |
Yes |
|
|
STRING |
Yes |
||
|
STRING |
Yes |
||
|
WDUI_TABSTRIP_SEL_CHNG_BEHVR |
auto |
No |
|
| styleClassName | STRING | Yes | |
|
WDUI_TAB_ALIGNMENT |
fast |
No |
|
|
Translatable text |
Yes |
||
|
WDUI_VISIBILITY |
visible |
Yes |
|
|
STRING |
Yes |
Aggregations in the View Designer
Events in View Designer
Dynamic Programming
For dynamic programming, the same properties, events, and aggregations as in the View Designer are available. But note that the spelling format and use of upper/lower case is different.
Dynamic Programming of Properties
| View Designer Name | Runtime Name | Type |
|---|---|---|
|
ACCESSIBILITY_DESCR |
WDY_MD_TRANSLATABLE_TEXT |
|
|
ACTIVATE_ACCESS_KEY |
WDY_BOOLEAN |
|
|
CONTEXT_MENU_BEHAVIOUR |
WDUI_CONTEXT_MENU_BEHAVIOUR |
|
|
contextMenuBehaviour: inherit |
CL_WD_TABSTRIP=>E_CONTEXT_MENU_BEHAVIOUR-INHERIT |
|
|
contextMenuBehaviour: provide |
CL_WD_TABSTRIP=>E_CONTEXT_MENU_BEHAVIOUR-PROVIDE |
|
|
contextMenuBehaviour: suppress |
CL_WD_TABSTRIP=>E_CONTEXT_MENU_BEHAVIOUR-SUPPRESS |
|
|
CONTEXT_MENU_ID |
WDY_MD_UI_ELEMENT_REFERENCE |
|
|
ENABLED |
WDY_BOOLEAN |
|
|
HEIGHT |
STRING |
|
|
SELECTED_TAB |
STRING |
|
|
SELECTION_CHANGE_BEHAVIOUR |
WDUI_TABSTRIP_SEL_CHNG_BEHVR |
|
|
selectionChangeBehaviour: auto |
CL_WD_TABSTRIP=>E_SELECTION_CHANGE_BEHAVIOUR-AUTO |
|
|
selectionChangeBehaviour: manual |
CL_WD_TABSTRIP=>E_SELECTION_CHANGE_BEHAVIOUR-MANUAL |
|
| styleClassName | STYLE_CLASS_NAME | STRING |
|
TAB_ALIGNMENT |
WDUI_TAB_ALIGNMENT |
|
|
tabAlignment: exact: |
CL_WD_TABSTRIP=>E_TAB_ALIGNMENT-EXACT |
|
|
tabAlignment: fast |
CL_WD_TABSTRIP=>E_TAB_ALIGNMENT-FAST |
|
|
TOOLTIP |
WDY_MD_TRANSLATABLE_TEXT |
|
|
VISIBLE |
WDUI_VISIBILITY |
|
|
visible: none |
CL_WD_TABSTRIP=>E_VISIBLE-NONE |
|
|
visible: visible |
CL_WD_TABSTRIP=>E_VISIBLE-VISIBLE |
|
|
WIDTH |
STRING |
Dynamic Programming of Events
Dynamic Programming of Aggregations
| View Designer Name | Runtime Name | Cardinality |
|---|---|---|
|
TABS |
0..n |
Example
You can find examples of this interface element in the system in the WDR_TEST_UI_ELEMENTS Web Dynpro application, and in the WDR_TEST_EVENTS component in the TabStrip view.
