Start of Content Area

Background documentation ScrollContainer Locate the document in its SAP Library structure

Caution

This UI element is deprecated. Instead use Structure linkTransparentContainer.

The ScrollContainer UI element enables you to use a vertical and horizontal scroll bar for the visible UI elements Group and Tray.

Note

To enable the development of Structure linkaccessible applications, the properties accessbilityDescription and tooltip are checked during the syntax check.

A tooltip does not necessarily have to be set for this UI element, but it could make sense to set it if it contains detailed semantic information.

 

Runtime Class

CL_WD_SCROLL_CONTAINER

 

Properties in View Designer

Name

Type

Initial Value

Bindable

ID

STRING

(automatic)

No

Structure linkaccessibilityDescription

Translatable text

 

Yes

Structure linkdefaultButtonId

STRING

 

Yes

Structure linkenabled

WDY_BOOLEAN

true

Yes

Structure linkheight

STRING

 

Yes

Structure linkscrollingMode

WDUI_SCROLLING_MODE

none

Yes

Structure linktooltip

Translatable text

 

Yes

Structure linkvisible

WDUI_VISIBILITY

visible

Yes

Structure linkwidth

STRING

 

Yes

 

Aggregations in View Designer

Name

Cardinality

Type

Structure linkElement

0..n

Structure linkUIElement

Note

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

        Structure linkUIElementContainer

        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 linkdefaultButtonId

DEFAULT_BUTTON_ID

STRING

Structure linkenabled

ENABLED

WDY_BOOLEAN

Structure linkheight

HEIGHT

STRING

Structure linkscrollingMode

SCROLLING_MODE

WDUI_SCROLLING_MODE

 scrollingMode: auto

CL_WD_SCROLL_CONTAINER=>E_SCROLLING_MODE-AUTO

 scrollingMode: both

CL_WD_SCROLL_CONTAINER=>E_SCROLLING_MODE-BOTH

 scrollingMode: none

CL_WD_SCROLL_CONTAINER=>E_SCROLLING_MODE-NONE

Structure linktooltip

TOOLTIP

WDY_MD_TRANSLATABLE_TEXT

Structure linkvisible

VISIBLE

WDUI_VISIBILITY

 visible: none

CL_WD_SCROLL_CONTAINER=>E_VISIBLE-NONE

 visible: visible

CL_WD_SCROLL_CONTAINER=>E_VISIBLE-VISIBLE

Structure linkwidth

WIDTH

STRING

 

Dynamic Programming of Aggregations

View Designer Name

Runtime Name

Cardinality

Structure linkElement

CHILDREN

0..n

 

 

End of Content Area