-
Philip Troise
- PowerBuilder
- Friday, 15 January 2021 10:14 PM UTC
My base code comes from the example in R3 for RibbonBars. I just copied everything and using and replacing parts.
I inserted code into the key event of w_main to capture key strokes. I could use this to trigger what I want for short cut keys, but there is a shortcut attribute in the XML. So I am going to see if that could be used instead of capturing key strokes and using the key event.
In example below tried to use Shortcut="A" to trigger opening an Add Screen.
I assign an "A" to shortcut. Now every time I had the key "A" the key event is not triggered, I do not know what happens. so thought maybe the clicked attribute event happens. So I changed it to ue_largebuttonclicked, which is what happens when the Add button is selected on menu, but still nothing happens
Shortcut="A" Tag="Add Reservation" Type="0" Visible="true" Clicked="ue_largebuttonclicked"></Item>
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.