[Lazarus] Brush color on TListView
alexsander.rosa at gmail.com
Tue Oct 16 17:07:24 CEST 2012
I'm using treelistview from Benibela (GTK2). I have some questions:
- How to set the SelectedFont background color? SelectedFont.Color sets
only the "pen" color, not the "brush" color
- How to use the OnCustomRecordItemDraw to set a line's background color
depending on its content ?
2012/9/13 Benito van der Zander <benito at benibela.de>
> However, the tricks to set Brush color inside of OnCustomDraw or
> OnAdvancedCustomDraw do not work.
> Am I missing something? How is it done?
> You cannot do that.
> And even if you get it working with one widgetset, it would fail on any
> other OS, since they all draw it differently.
> I ended up writing my own list view (
> just to get differently colored rows
> Or you can stay with the grid and implement your own selection
Alexsander da Rosa
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Lazarus