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.

GDBG, ClipboardCut not firing (but ClipboardCut does)

Thread ID:

Created:

Updated:

Platform:

Replies:

29015 May 13,2005 02:00 PM May 16,2005 06:32 PM Windows Forms 3
loading
Tags: GridControl
Jeck
Asked On May 13, 2005 02:00 PM

Hello, With the simple code below, I receive the ClipboardCopy event (On Ctrl-V), but not the ClipboardCut (On Ctrl-X). Using 3.0.1.1 (not able to upgrade to 3.2 right now) Is this something that has been adressed before? grid.Model.ClipboardCut += new GridCutPasteEventHandler(Model_ClipboardCut); grid.Model.ClipboardCopy += new GridCutPasteEventHandler(Model_ClipboardCopy);

Administrator [Syncfusion]
Replied On May 13, 2005 09:49 PM

Do you have some kind of menu hotkey or toolbar short cut that might be trapping the ctl+X before it gets to the grid?

Administrator [Syncfusion]
Replied On May 16, 2005 06:07 PM

Doesn''t seem like it. No menu. There''s XPTaskBar panel with few items, but none of them have shortcuts specified. Focus it on the grid anyway, so it should catch the key combination first, right?

Administrator [Syncfusion]
Replied On May 16, 2005 06:32 PM

>>Focus it on the grid anyway, so it should catch the key combination first, right? No. The form''s menu hotkeys and accelerators have precedence. You can see this by dropping a TextBox on a form and adding a mainMenu with a menuitem with a ctl+C hotkey. Even if the TextBox has focus, pressing ctl+C triggers the menu item and not the standard copy command of the TextCopy standard ctl+C. Can you upload a sample project showing the problem, or can you see it in one of our samples?

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.

;