-
Miguel Alzate
- PowerBuilder
- Tuesday, 24 June 2025 11:43 PM UTC
Hi, Community. Your help, please!
When calling the SetMenu function for a LargeButton in the RibbonBar control, the icon (at the bottom of the LargeButton) used to display the respective menu is not displayed. This is the script:
integer li_ret
long ll_handle_category, ll_handle_panel, ll_handle_largebutton, ll_handle_menu
ribbonmenu lr_menu
ribbonlargebuttonItem lr_LargeButton
ll_handle_category = rbb_1.InsertCategoryFirst('Category')
ll_handle_panel = rbb_1.InsertPanelFirst(ll_handle_category, "Panel", "BrowseObject1!")
ll_handle_largebutton = rbb_1.InsertLargeButtonLast(ll_handle_panel, 'LargeButton', 'BrowseObject1!', 'Ue_LargeButtonClicked')
ll_handle_menu = lr_Menu.InsertItemLast ("MenuItem", "BrowseObject1!", "Ue_MenuItem1Clicked")
li_ret = rbb_1.GetLargeButton(ll_handle_largebutton, lr_LargeButton)
li_ret = lr_LargeButton.setmenu(lr_menu) //Does not work!
return
Note: All values returned by the different functions are valid.
What could possibly be wrong?
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.