Thanks. This is perfect.
One other question - How can you have a popup menu with the same items as in the RibbonPanelMergeContainer. We used to be able to do this using Syncfusion.Windows.Forms.Tools.XPMenus.PopupMenu and associate it with a ParentBarItem which would contain all the menu items. Is there something similar we can do with the RibbonControl?
Thanks,
Gurbhej
>Hi Gurbhej,
Thank you for your patience.
The setShortcut method gets/sets the shortcut keys for easy access through the keyboard.
Please refer the below code snippets:
[C#]
this.SetShortcut(this.toolStripTabItem1,((System.Windows.Forms.Keys) (((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) | System.Windows.Forms.Keys.T)
For more detail please refer the following tutorial and KB article.
Tutorial link:
http://www2.syncfusion.com/ug_63/toolswin/KeyBoardShortCut.htmlKB article:
http://www.syncfusion.com/support/kb/tools/Default.aspx?ToDo=view&questId=620Please refer the screen shot for toolstripbutton properties window:
http://websamples.syncfusion.com/samples/Tools.Windows/F75932_1/Tools_WF_Shortcut.zipPlease let me know if any concerns.
Regards,
Hema