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.
Unfortunately, activation email could not send to your email. Please try again.

BarItem shortcuts make focused controls do not work correctly

Thread ID:

Created:

Updated:

Platform:

Replies:

49572 Sep 21,2006 05:58 AM Sep 26,2006 06:35 AM Windows Forms 3
loading
Tags: Tools
Mario
Asked On September 21, 2006 05:58 AM

I have a problem with a BarItem''s shortcut set to a key that the focused control also understands (for example the DEL key, if the focused control is a TextBox).

If I do this, my focused controls in the same form do not accept the shortcut key anymore.

Of course, shortcuts should not avoid controls having the focus to work correctly. First the control having the focus should have a chance to handle the key and then the BarItem can do its work.

Can I somehow avoid this unwanted behaviour?

Mano J [Syncfusion]
Replied On September 21, 2006 11:22 AM

Hi Mario,

Please refer the KB article in the link below

How do I workaround the problem resulting from having Delete key as a shortcut to one of my BarItems or MenuItems ?


Please let me know if you have any questions.

Regards,
Mano

Mario
Replied On September 24, 2006 01:05 PM

Hi Mano,
I think, it would be much easier, if Shortcuts would have a property, that allows to decide, whether local events are handled before the shortcut action executes?

Then I would not need to distribute shortcut disable/enable code throughout my whole application.

If this fits with your strategy, it would be nice to see this feature in a future release.

Regards, Mario

Mano J [Syncfusion]
Replied On September 26, 2006 06:35 AM

Hi Mario,

We will consider it and will make it as a feature in future releases.

Thanks,
Mano

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.

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.

;