Show TOC

Background documentationScrollContainer Locate this document in the navigation structure

 

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

Caution Caution

This UI element is obsolete. Instead use TransparentContainer.

End of the caution.

Note Note

  • To enable the development of accessible applications, the accessibilityDescription and tooltip properties are not 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.

  • Active components or standard placeholder controls (including IFrame if the placeholder is activated) are not supported in ScrollContainers. This includes popups and splitters where the content is also displayed in a scrollable area.

End of the note.

Runtime Class

CL_WD_SCROLL_CONTAINER

Properties in View Designer

Name

Type

Initial Value

Bindable

id

STRING

(automatic)

No

accessibilityDescription

Translatable text

Yes

contextMenuBehaviour

WDUI_CONTEXT_MENU_BEHAVIOUR

inherit

No

contextMenuId

WDY_MD_UI_ELEMENT_REFERENCE

No

defaultButtonId

WDY_MD_UI_ELEMENT_REFERENCE

Yes

enabled

WDY_BOOLEAN

true

Yes

handleHotkeys

WDY_BOOLEAN

false

No

height

STRING

Yes

scrollingMode

WDUI_SCROLLING_MODE

none

Yes

scrollLeft

I

0

No

scrollTop

I

0

No

tooltip

Translatable text

Yes

visible

WDUI_VISIBILITY

visible

Yes

width

STRING

Yes

Aggregations in View Designer

Name

Cardinality

Type

Element

0..n

UIElement

Note Note

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

End of the note.
Dynamic Programming

For dynamic programming, the same properties, events and aggregations are available as in the View Designer. But note that the spelling format and use of upper/lower case is different.

Dynamic Programming of Properties

View Designer Name

Runtime Name

Type

accessibilityDescription

ACCESSIBILITY_DESCR

WDY_MD_TRANSLATABLE_TEXT

contextMenuBehaviour

CONTEXT_MENU_BEHAVIOUR

WDUI_CONTEXT_MENU_BEHAVIOUR

 contextMenuBehaviour: inherit

CL_WD_SCROLL_CONTAINER=>E_CONTEXT_MENU_BEHAVIOUR-INHERIT

 contextMenuBehaviour: provide

CL_WD_SCROLL_CONTAINER=>E_CONTEXT_MENU_BEHAVIOUR-PROVIDE

 contextMenuBehaviour: suppress

CL_WD_SCROLL_CONTAINER=>E_CONTEXT_MENU_BEHAVIOUR-SUPPRESS

contextMenuId

CONTEXT_MENU_ID

WDY_MD_UI_ELEMENT_REFERENCE

defaultButtonId

DEFAULT_BUTTON_ID

WDY_MD_UI_ELEMENT_REFERENCE

enabled

ENABLED

WDY_BOOLEAN

handleHotkeys

HANDLE_HOTKEYS

WDY_BOOLEAN

height

HEIGHT

STRING

scrollingMode

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

scrollLeft

SCROLL_LEFT

I

scrollTop

SCROLL_TOP

I

tooltip

TOOLTIP

WDY_MD_TRANSLATABLE_TEXT

visible

VISIBLE

WDUI_VISIBILITY

visible: none

CL_WD_SCROLL_CONTAINER=>E_VISIBLE-NONE

visible: visible

CL_WD_SCROLL_CONTAINER=>E_VISIBLE-VISIBLE

width

WIDTH

STRING

Dynamic Programming of Aggregations

View Designer Name

Runtime Name

Cardinality

Element

CHILDREN

0..n