Catch shortcut keypress of XPToolBar item

Hi there,

Is there an event raised when a keyboard shortcut is pressed on a XPToolBar item? I tried KeyPress or Click but it didn't work.

this.barItem1.ID = "Test here";
this.barItem1.Shortcut = System.Windows.Forms.Shortcut.CtrlE;
this.barItem1.Text = "Test here";

1 Reply

OO Oleg Ogurok May 30, 2007 03:54 PM UTC

Nevermind, I needed to attach a Click event handler to the item itself rather than the toolbar.

Loader.
Up arrow icon