Start of Content Area

Background documentation Tab  Locate the document in its SAP Library structure

The Tab UI element is an individual tab page within a TabStrip. The Tab consists of a header area, a content area, and an optional toolbar.

Caution

Tab Captions cannot be used as a drag handle. See also Drag&Drop.

 

 

Note

To enable the development of accessible applications, the syntax check checks whether the caption.text property is set. If not, the system checks whether caption.tooltip is set.

 

Runtime Class

CL_WD_TAB

 

Properties in the View Designer

Name

Type

Initial Value

Bindable

id

STRING

(automatic)

No

closeable

WDY_BOOLEAN

true

Yes

enabled

WDY_BOOLEAN

true

Yes

hasContentPadding

WDY_BOOLEAN

true

Yes

visible

WDY_BOOLEAN

true

Yes

 

Aggregations in the View Designer

Name

Cardinality

Type

Element in Tab

0..1

UIElement

Header

1..1

Caption

Toolbar

0..1

ToolBar

Note

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

        ViewElement

Dynamic Programming

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

Dynamic Programming of Properties

View Designer Name

Runtime Name

Type

closeable

CLOSEABLE

WDY_BOOLEAN

enabled

ENABLED

WDY_BOOLEAN

hasContentPadding

HAS_CONTENT_PADDING

WDY_BOOLEAN

visible

VISIBLE

WDY_BOOLEAN

 

Dynamic Programming of Aggregations

View Designer Name

Runtime Name

Cardinality

Element in Tab

CONTENT

0..1

Header

HEADER

1..1

Toolbar

TOOLBAR

0..1

 

 

End of Content Area