Bug 5828

Accelerator keys are not working in the Ribbon Bar Control 14 January, 2021

Bhavesh Vyas
02 January, 2021
Product: PowerBuilder Category: PowerBuilder IDE
Version: 2019 R2 Build:
Classification: Enhancement Publishing: Public
Priority: P2
Status: Closed Reason: RECORDED AS ENHANCEMENT
Appeon Product 14 January, 2021
#8
Hi Bhavesh,  

 

Thank you for submitting the ticket.  

We now acknowledge this ticket to be an enhancement request and will record and track it internally in our enhancement management system. At the same time, we are closing the ticket here because this support system is for handling standard support services but not for maintaining enhancement requests.  

Please note that despite its "Closed" status, you are welcome to come back here and leave further comments or query the relevant development progress on this ticket.  

 

Regards,  

Amy Feng
Bhavesh Vyas 05 January, 2021
#7
Thanks.
Mark Lee @Appeon 05 January, 2021
#6
Hello Bhavesh,

Thanks for providing the screenshots.
And yes, currently, RibbonBar doesn't support this acceleratory keys function.
I will record it as a new enhancement/requirement request and will transfer it to our product team for consideration.

Regards,
Mark Lee
Bhavesh Vyas 04 January, 2021
#5
Category_accelerator.jpg (46KB)

Another screen shot of category.

Regards,
Bhavesh Vyas 04 January, 2021
#4
Panel_items_accelerator.jpg (48KB)

Hello Mark,

Thank you for the quick response. Here I have attached the screen shot of the requirement.

To replicate: Open file explorer in the windows 10 >> Select any of the folder >> Click on the Alter key >> You will be able to see the acceleratory keys for category and panels.

Please let me know incase of any questions or concerns.

Regards,
Bhavesh Vyas.
Mark Lee @Appeon 04 January, 2021
#3
Hello Bhavesh,

Can you provide screenshots or a video of the functionality you want on other application's ribbonbar so that I can transfer it to our product team as a requirement. Thanks in advance.

Regards,
Mark Lee
Bhavesh Vyas 04 January, 2021
#2
Hello Mark, 

Thanks for the solution 1, but for the solution 2 there must be an option to set the accelerator keys for Category, large button, small button etc. Because every I have to select the category then need to access the panel item and then I can access the menu item. But I don't want to use the mouse in that case.

Can you please provide these kind of functionality because it is really required and other application's ribbon bar also having these kind of functionality. So please look into it.

Regards,
Bhavesh Vyas
Mark Lee @Appeon 04 January, 2021
#1
Hi Bhavesh,

Thanks for reporting this problem. 
1. For RibbonMenuItem, the user can assign an accelerator key by typing an ampersand (&) before the letter in the menu item text. For example, &File designates the F in File as an accelerator key. The user can also assign shortcut keys to ribbon menus, see Shortcut for details.
RibbonMenuItem lnv_menuItem
lnv_menuItem.Text ="&Open"
 
2. For other RibbonBar controls, controls such as RibbonLargeButtonItem, RibbonSmallButtonItem, and RibbonTabButtonItem do not support this setting. But these kinds of controls have Shortcut properties.
The shortcut key is a combination of keys that a user can press to select an item whether or not the item is displayed.
You can refer to the following link for the detail:
https://docs.appeon.com/pb2019r2/objects_and_controls/ch03s260.html
RibbonTabButtonItem lr_TabButton
lr_TabButton.Shortcut = "Ctrl+Alt+A"

Regards,
Mark Lee
Bhavesh Vyas 02 January, 2021
*Phenomenon: Accelerator keys are not working for the ribbon bar control


*Reproduce Steps: Previously in the traditional menu we can use "&" to set any accelerator keys to the menu icon and on click of that key with "Alt" it was calling the menu's clicked event. Now I want to switch to the ribbon bar control but there is no any option to set the accelerator keys in ribbon bar.

Remarks:
OS:
Windows 10
Platform:
64-bit
Database Type:
SAP SQL Anywhere
Database Version: