GetButtonType Method (SapToolbarControl)

Class

SapToolbarControl class

Action

the type of the specified toolbar button. Possible values are: "Button", "ButtonAndMenu", "Menu", "Separator", "Group", "CheckBox".

Syntax

buttonType = toolbarControl.GetButtonType(buttonPosition)
Variable Description
buttonType TOOLBARBUTTONTYPE.
buttonPosition The zero-based button position. INTEGER.