We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Catch shortcut keypress of XPToolBar item

Thread ID:

Created:

Updated:

Platform:

Replies:

61650 May 30,2007 03:28 PM UTC May 30,2007 03:54 PM UTC WinForms 1
loading
Tags: Tools
Oleg Ogurok
Asked On May 30, 2007 03:28 PM UTC

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";

Oleg Ogurok
Replied On May 30, 2007 03:54 PM UTC

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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;