Thema: Delphi TListView.OnDrawItem

Einzelnen Beitrag anzeigen

WojTec

Registriert seit: 17. Mai 2007
480 Beiträge
 
Delphi XE6 Professional
 
#18

Re: TListView.OnDrawItem

  Alt 16. Nov 2010, 18:12
Don't working, when try select item, all what is inside control is erased, so component is blank.

Maybe I'm calling in wrong order? I have: OwnerDraw is True, OnDrawItem to make grey text, OnCustom* event with DefaultDraw set to True. Now selection is don't visible, but items are with black and grey text. Then I added your first code for themes to form OnCreate - result was the same, then repleaced it with next example - control area is cleared.

  Mit Zitat antworten Zitat