With the simple code below, I receive the ClipboardCopy event (On Ctrl-V), but not the ClipboardCut (On Ctrl-X).
Using 220.127.116.11 (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);
ADAdministrator 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?
ADAdministrator Syncfusion Team May 16, 2005 05:07 PM
Doesn''t seem like it.
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?
ADAdministrator 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?