Hi all,
I am trying to add key board shortcuts for Infragistics ButtonTools:
private Infragistics.Win.UltraWinToolbars.UltraToolbarsManager toolbarsManager;
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool1;
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool2;
Infragistics.Win.UltraWinToolbars.PopupMenuTool popupMenuTool1;
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool3;
Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool4;
buttonTool1.SharedProps.Caption = "abc";
buttonTool1.SharedProps.Shortcut = System.Windows.Forms.Shortcut.AltF1;
buttonTool2.SharedProps.Caption = "def";
buttonTool2.SharedProps.Shortcut = System.Windows.Forms.Shortcut.AltF2;
popupMenuTool1.SharedProps.Caption = "ghi";
popupMenuTool1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
buttonTool3,
buttonTool4});
this.toolbarsManager.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
buttonTool1,
buttonTool2,
popupMenuTool1});
this.toolbarsManager.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(this.toolbarsManager_ToolClick);
The result of this code is that event is not fired with keyboard shortcut but mouse click fires the correct event. Any thoughts/suggestions would be helpful.
Does anyone has a remedy for this issue?
I was not able to reproduce the problem based on the original description. I tried with 11.1 and the RTM version of 9.2. Can you provide a sample which demonstrates the issue?