GetButtonType Method (SapToolbarControl)

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.