2
votes

TListView OwnerDraw compat with Windows UI & VCL Styles
The Road to Delphi
– There is a lot of resources of how ownerdraw a Delphi TListView, but most of them are deprecated and don’t take into account the VCL Styles and the StyleServices. So on this post I will show you how you can ownerdraw a TListView to be compatible with the native Windows Look and feel and the VCL Styles. First, there is lot of ways to ownerdraw a TListView , but on this post we will focus only in the OnDrawItem event, because offers more flexibility than the OnCustomDrawXXX events handlers . The OnDrawItem is an event handler of type Vcl.ComCtrls.TLVDrawItemEvent This is the definition ...
Statistics
|
Visits by Source |
User Actions |