ItemHandle
property for PowerScript controls
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
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
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 |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest