U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » GridCtrl Clipboard just for copying
GridCtrl Clipboard just for copying [message #36292] Fri, 18 May 2012 14:35 Go to next message
koldo is currently offline  koldo
Messages: 3464
Registered: August 2008
Senior Veteran
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?


Best regards
Iñaki
Re: GridCtrl Clipboard just for copying [message #36347 is a reply to message #36292] Mon, 21 May 2012 16:28 Go to previous messageGo to next message
unodgs is currently offline  unodgs
Messages: 1367
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);


Re: GridCtrl Clipboard just for copying [message #36352 is a reply to message #36347] Mon, 21 May 2012 18:19 Go to previous message
koldo is currently offline  koldo
Messages: 3464
Registered: August 2008
Senior Veteran
I cannot believe it! Shocked . Thank you Smile.

Best regards
Iñaki
Previous Topic: Jsonize for GridCtrl
Next Topic: GridCtrl and SplitterFrame
Goto Forum:
  


Current Time: Sun Oct 11 02:38:16 GMT+2 2026

Total time taken to generate the page: 0.00721 seconds