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. Image for the cookie policy date

GDBG, ClipboardCut not firing (but ClipboardCut does)

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

3 Replies

AD Administrator Syncfusion Team May 13, 2005 08: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?


AD Administrator Syncfusion Team May 16, 2005 05: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?


AD Administrator Syncfusion Team May 16, 2005 05: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?

Loader.
Live Chat Icon For mobile
Up arrow icon