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 <[email protected]> > > 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 ( > http://www.benibela.de/components_en.html#treelistview), > just to get differently colored rows > > Or you can stay with the grid and implement your own selection > (http://www.lazarus.freepascal.org/index.php?topic=7981.0) > > > -- Atenciosamente, Alexsander da Rosa
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
