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

Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » Problem with Clipboard in GridCtrl
Problem with Clipboard in GridCtrl [message #34358] Fri, 18 November 2011 13:14 Go to previous message
koldo is currently offline  koldo
Messages: 3459
Registered: August 2008
Senior Veteran
Hello Daniel

When copying GridCtrl rows I have a problem if some of the cells is colored.

To color a cell I do:

grid.Set(row, col, AttrText("Hello").Paper(LtRed));


When selecting and copying to the clipboard, I get this error:

index.php?t=getfile&id=3520&private=0

It fails as this is true:
Typemap().Find(type) >= 0


It is like there is a problem when inserting a AttrText in a Value.

It is inserted as a RawValueRep, type == 5 + 0x8000000
  • Attachment: dib.PNG
    (Size: 8.99KB, Downloaded 1039 times)


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Not able to remove Columns in Grid.
Next Topic: GridCtrl WhenLeftDouble Callback
Goto Forum:
  


Current Time: Sat May 30 04:49:56 GMT+2 2026

Total time taken to generate the page: 0.00543 seconds