Have you tried to use double buffer? Cheers, Charlie
----- Original Message ----- From: David Smith To: advanced_delphi@yahoogroups.com Sent: Tuesday, January 08, 2008 11:59 AM Subject: Re: [advanced_delphi] need example to create custom control from scratch What is it exactly you did? Dave Fahri Reza <[EMAIL PROTECTED]> wrote: I did it.... Turned out that it can be done using CustomDrawItem event, but there is flickers. I'm using TDrawGrid instead of TListView because it allows me to have different height for rows. I'll try to post the source-code later. _________________________ FIreHAzaR:-D West Java, Indonesia _________________________ ------------------------------------------------------------------------------ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.