Start of Content Area

Background documentation TabStrip Locate the document in its SAP Library structure

The TabStrip UI element allows the display of a tab. The user can toggle between several tab pages by selecting a specific Structure linkTab. 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

This graphic is explained in the accompanying text

Note

To enable the development of Structure linkaccessible applications, the accessibilityDescription property is checked during the syntax check if the tooltip property is not set.

 

Runtime Class

CL_WD_TABSTRIP

 

Properties in View Designer

Name

Type

Initial Value

Bindable

ID

STRING

(automatic)

No

Structure linkaccessibilityDescription

Translatable text

 

Yes

Structure linkenabled

WDY_BOOLEAN

true

Yes

Structure linkheight

STRING

 

Yes

Structure linkselectedTab

STRING

 

Yes

Structure linkselectionChangeBehaviour

WDUI_TABSTRIP_SEL_CHNG_BEHVR

auto

No

Structure linktabAlignment

WDUI_TAB_ALIGNMENT

fast

No

Structure linktooltip

Translatable text

 

Yes

Structure linkvisible

WDUI_VISIBILITY

visible

Yes

Structure linkwidth

STRING

 

Yes

 

Aggregations in View Designer

Name

Cardinality

Type

Structure linkTab

0..n

Structure linkTab

 

Events in View Designer

Name

Structure linkonSelect

Note

Other properties that can be inherited are defined in the associated higher-level classes. The associated UI elements are:

      Structure linkUIElement

      Structure linkViewElement

Dynamic Programming

For dynamic programming, the same properties, events and aggregations are available as in the View Designer. Bear in mind the different spellings.

Dynamic Programming of Properties

View Designer Name

Runtime Name

Type

Structure linkaccessibilityDescription

ACCESSIBILITY_DESCR

WDY_MD_TRANSLATABLE_TEXT

Structure linkenabled

ENABLED

WDY_BOOLEAN

Structure linkheight

HEIGHT

STRING

Structure linkselectedTab

SELECTED_TAB

STRING

Structure linkselectionChangeBehaviour

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

Structure linktabAlignment

TAB_ALIGNMENT

WDUI_TAB_ALIGNMENT

 tabAlignment: exact

CL_WD_TABSTRIP=>E_TAB_ALIGNMENT-EXACT

 tabAlignment: fast

CL_WD_TABSTRIP=>E_TAB_ALIGNMENT-FAST

Structure linktooltip

TOOLTIP

WDY_MD_TRANSLATABLE_TEXT

Structure linkvisible

VISIBLE

WDUI_VISIBILITY

 visible: none

CL_WD_TABSTRIP=>E_VISIBLE-NONE

 visible: visible

CL_WD_TABSTRIP=>E_VISIBLE-VISIBLE

Structure linkwidth

WIDTH

STRING

 

Dynamic Programming of Events

View Designer Name

Runtime Name

Structure linkonSelect

ON_SELECT

 

Dynamic Programming of Aggregations

View Designer Name

Runtime Name

Cardinality

Structure linkTab

TABS

0..n

Example

You can find examples of this interface element in the system in the Web Dynpro application WDR_TEST_UI_ELEMENTS, and in the component WDR_TEST_EVENTS in the view TabStrip.

 

End of Content Area