GetTabButtonCount

Description

Determines the total number of tab buttons in the RibbonBar control.

Applies to

RibbonBar controls

Syntax

controlname.GetTabButtonCount ( )

Argument

Description

controlname

The name of the RibbonBar control.


Return value

Long.

Returns the total number of tab buttons in RibbonBar. If RibbonBar contains no tab buttons, returns 0. If an error occurs, returns -1.

Examples

Long ll_Return
ll_Return = rbb_1.GetTabButtonCount()

See also

InsertTabButton

InsertTabButtonFirst

InsertTabButtonLast

DeleteTabButton

SetTabButton

GetTabButton

GetTabButtonByIndex