Status & Roadmap
Authors & License
Funding Ultimate++
Search on this site
Search in forums

SourceForge.net Logo
Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » GridCtrl copy/paste extra columns
GridCtrl copy/paste extra columns [message #35779] Wed, 21 March 2012 00:44 Go to previous message
nixnixnix is currently offline  nixnixnix
Messages: 415
Registered: February 2007
Location: Kelowna, British Columbia
Senior Member
Hi Daniel,

When I select a block of cells using ctrl+mouse and then paste into Excel I get an extra column of blank cells. I am used to this as it has always happened (since you kindly added copy-paste functionality to GridCtrl) but thought I would mention it here as it may be connected to the issue below.

When I copy from Excel into GridCtrl and the last column is pasted into an Option column, the 1s in the column do not get translated into checked options in the GridCtrl. In general, the option ctrls copy and paste into excel as either 1s or 0s and they paste back into the GridCtrl fine too (1s become checked options) but the last column does not get set correctly if it is options. A workaround for this is to copy and paste an extra column of blanks which is then ignored.

Hope this is enough to recreate the issue.



Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: void SetDisplay(int r, int c, GridDisplay& gd);
Next Topic: ArrayCtrl Xmlize
Goto Forum:

Current Time: Sun Feb 28 07:13:40 CET 2021

Total time taken to generate the page: 0.02458 seconds