ItemHandle

Applies to

RibbonApplicationButtonItem, RibbonTabButtonItem, RibbonCategoryItem, RibbonPanelItem, RibbonGroupItem, RibbonLargeButtonItem, RibbonSmallButtonItem, RibbonCheckBoxItem, RibbonComboBoxItem controls

Description

Identifies the handle associated with the item. Value is read-only.

Examples

Integer li_Return
Long ll_Handle
RibbonCategoryItem lr_Category

ll_Handle = rbb_1.InsertCategoryLast ("Category")
li_Return = rbb_1.GetCategoryByIndex (1, lr_Category)
If li_Return = 1 Then
 lr_Category.Text = "Category2"
 li_Return = rbb_1.SetCategory (lr_Category.ItemHandle, lr_Category)
 //the following two SetItem scripts have the same affect
 //li_Return = rbb_1.SetItem(lr_Category.ItemHandle, lr_Category)
 //li_Return = rbb_1.SetItem(lr_Category)

End If