I have found that if I set my
MainMenu->EditMenu->Cut1->Shortcut property to CTRL+X it will actually disable the windows default behavior when I
attempt to use the menu item. Instead the menu item
calls the OnClick event. This would be OK if I
could use ClipBoard to copy and paste but I can't.
The reason is that there is no way to cut/copy a partial
cell in TDBGrid. ( No SelText() ) Cut/Copy/Paste
will work fine if the Menu does not have shortcuts
defined but will not work when they are set.
So: I need to emulate the <CTRL>+<X>, <CTRL>+<C>, and <CTRL>+<V> in the OnClick event. Does anyone know how
I can do this? OR, is there some other way to correct
this behavior?
MainMenu->EditMenu->Cut1->Shortcut property to CTRL+X it will actually disable the windows default behavior when I
attempt to use the menu item. Instead the menu item
calls the OnClick event. This would be OK if I
could use ClipBoard to copy and paste but I can't.
The reason is that there is no way to cut/copy a partial
cell in TDBGrid. ( No SelText() ) Cut/Copy/Paste
will work fine if the Menu does not have shortcuts
defined but will not work when they are set.
So: I need to emulate the <CTRL>+<X>, <CTRL>+<C>, and <CTRL>+<V> in the OnClick event. Does anyone know how
I can do this? OR, is there some other way to correct
this behavior?