TListView - Custom draw item and issue with selected item
Original Reporter info from Mantis: Dibo
-
Reporter name: Krzysztof Dibowski
Original Reporter info from Mantis: Dibo
- Reporter name: Krzysztof Dibowski
Description:
Hi,
I want to have different font color in custom item. In normal state code is working but when select item then seems that selection is drawed after text draw so text is not showing.
I could use OwnerDraw := True and OnDrawItem event instead but then I need to draw everything (background, selection, etc...)
Note that list view is OwnerData
Steps to reproduce:
- Run attached demo
- Select random item
Additional information:
Lazarus 1.2.6 (but tested also on svn version)
FPC 2.6.4
Kubuntu 14.04 64 bit, Qt widgetset