Entering content frame

Background documentation ToolBarButtonChoice Locate the document in its SAP Library structure

This UI element makes a button available in a ToolBar.

Note

If the property text has not been set, the property tooltip is checked during the design time to ensure Accessibility.

Example of the Display

This graphic is explained in the accompanying text

 

Runtime Class

CL_WD_TOOLBAR_BTN_CHOICE

 

Properties in the View Designer

Name

Type

Initial Value

Bindable

ID

STRING

(automatic)

No

collapsible

WDY_BOOLEAN

false

Yes

enabled

WDY_BOOLEAN

true

Yes

imageSource

STRING

 

Yes

repeatSelectedAction

WDY_BOOLEAN

true

Yes

selectedActionItem

STRING

 

Yes

text

Text

 

Yes

tooltip

Text

 

Yes

visible

WDUI_VISIBILITY

visible

Yes

 

Aggregations in the View Designer

Name

Cardinality

Type

CHOICES

0..n

MenuActionItem

Note

Further properties that can be inherited are defined in the associated higher-level class.  The associated interface elements are:

      UIElement

      ViewElement

Dynamic Programming

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

Dynamic Programming of Properties

View Designer Name

Runtime Name

Type

collapsible

COLLAPSIBLE

WDY_BOOLEAN

enabled

ENABLED

WDY_BOOLEAN

imageSource

IMAGE_SOURCE

STRING

repeatSelectedAction

REPEAT_SELECTED_ACTION

WDY_BOOLEAN

selectedActionItem

SELECTED_ACTION_ITEM

STRING

text

TEXT

WDY_MD_TRANSLATABLE_TEXT

tooltip

TOOLTIP

WDY_MD_TRANSLATABLE_TEXT

visible

VISIBLE

WDUI_VISIBILITY

 visible: none

CL_WD_TOOLBAR_BTN_CHOICE=>E_VISIBLE-NONE

 visible: visible

CL_WD_TOOLBAR_BTN_CHOICE=>E_VISIBLE-VISIBLE

 

Dynamic Programming of Aggregations

View Designer Name

Runtime Name

Cardinality

CHOICES

CHOICES

0..n

Example

You can find an example of this UI element in the system in the Web Dynpro application, WDR_TEST_UI_ELEMENTS.

 

 

Leaving content frame