2
votes
Vote UpVote

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 ...
Favorite? Off-Topic? Rodrigo @ 2017-03-10 04:05

Statistics

Visits: 2479
Votes: 2
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Alister Christie
gomsun2
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)