1. Philip Troise
  2. PowerBuilder
  3. Monday, 18 January 2021 19:46 PM UTC

What edit is needed in the RibbonBar menu XML to JUST Underscore a letter in the name of the menu choice, to signify when the user clicks on the letter or speed key, that it will be like clicking on that menu item.

This is to mimic the menu speed keys in the classic version of using powerbuilder 

Mark Lee @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 19 January 2021 10:03 AM UTC
  2. PowerBuilder
  3. # 1

Hi Philip,

 

In PB 2019 R2 Build 2353, the RibbonMenu object of the RibbonBar supports this functionality. You can define the corresponding XML as below (add '&' to the front of the specified character):

 <Item Text="Cl&amp;ose" PictureName="CloseBig!" Checked="false" Enabled="true" Tag="Close" Type="0" Visible="true" Clicked="ue_appmastermenu" Selected="ue_MenuCloseSelected" />

 

 

However, for other objects in RibbonBar control, like LargeButton, SmallButton, etc. they are not supported.

But if you configure the Shortcut property of these objects, if the mouse hovers over these objects, the corresponding shortcut info will be displayed.

 

Regards,

 

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.