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)
Benito
On 09/12/2012 10:33 PM, Alexsander Rosa wrote:
I was using a TStringGrid to show some data but I need the "non-linear
multi-select" from TListView.
However, the tricks to set Brush color inside of OnCustomDraw or
OnAdvancedCustomDraw do not work.
Am I missing something? How is it done?
--
Atenciosamente,
Alexsander da Rosa
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus