Jump to content


Photo

[5.0] First column not painted


  • This topic is locked This topic is locked
1 reply to this topic

#1 littlebigfred

littlebigfred
  • Members
  • 176 posts

Posted 15 August 2009 - 08:49 PM

Hi

I upgraded to the latest NextGrid a few days ago. I'm using this code in D2007 to display a two-column grid with the first fixed and painted grey, so it looks like Delphi's TValueList widget:

http://pastebin.ca/1530683

For some reason, the first column isn't painted:

http://img32.imagesh...idnotpainte.jpg

Any idea what is missing?

Thank you.

#2 littlebigfred

littlebigfred
  • Members
  • 176 posts

Posted 15 August 2009 - 09:04 PM

Found what it was: I merely copy/pasted the code without actually double-clicking on the grid's OnCustomDrawCell event. Problem solved.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users