CategorySelectionChanged

Description

Just after the selection changes to another category. CategorySelectionChanged is triggered when the category is created and the initial selection is established.

Event ID

Event ID

Objects

None

RibbonBar


Arguments

Argument

Description

OldIndex

Long by value (the index of the category that was previously selected)

NewIndex

Long by value (the index of the category that has become selected)


Return Values

Long.

Return code choices (specify in a RETURN statement):

0 -- Continue processing

Examples

RibbonCategoryItem lr_Category
//st_status is statictext
If rbb_1.GetCategoryByIndex( NewIndex, lr_Category ) = 1 Then
 st_status.Text = "Category:[" + lr_Category.Text + "]"
End If

See also

CategorySelectionChanging

CategoryExpanded

CategoryCollapsed

ItemUnselected