Now when in GridCtrl Clipboard() is set, it is permitted to copy from and paste to the control. This affects to the menu that lets to do Cut, Copy and Paste.
Could it be possible to add an option to let only to copy from the GridCtrl but not to let to Paste to or Cut rows of the GridCtrl?
unodgs Messages: 1366 Registered: November 2005 Location: Poland
Ultimate Contributor
koldo wrote on Fri, 18 May 2012 08:35
Hello Daniel
Now when in GridCtrl Clipboard() is set, it is permitted to copy from and paste to the control. This affects to the menu that lets to do Cut, Copy and Paste.
Could it be possible to add an option to let only to copy from the GridCtrl but not to let to Paste to or Cut rows of the GridCtrl?
Added:
GridCtrl& ClipboardCopy(bool b = true);
GridCtrl& ClipboardCut(bool b = true);
GridCtrl& ClipboardPaste(bool b = true);