GetCategoryCount

Description

Determines the total number of categories in the RibbonBar control.

Applies to

RibbonBar control

Syntax

controlname.GetCategoryCount ( )

Argument

Description

controlname

The name of the RibbonBar control.


Return value

Long.

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

Examples

Long ll_Return
ll_Return = rbb_1.GetCategoryCount()

See also

InsertCategory

InsertCategoryFirst

InsertCategoryLast

DeleteCategory

SetCategory

GetCategory

GetCategoryByIndex

SetActiveCategory

GetActiveCategory