Auto sizing column in TVirtualStringTree

Posted by Larry Lustig on Stack Overflow See other posts from Stack Overflow or by Larry Lustig
Published on 2010-04-21T02:08:44Z Indexed on 2010/04/21 2:13 UTC
Read the original article Hit count: 701

Climbing the learning mountain of TVirtualTreeView, I'm attempting to create a custom descendant that ensures that, when the control is resized, the width of the last column exactly fills control's width without requiring a horizontal scroll bar.

I see a number of items (a method and a number of events) pertaining to "AutoFitColumns", but not documentation covering this feature. Can I use AutoFitColumns to automatically resize my last column and if so, how.

© Stack Overflow or respective owner

Related posts about delphi

Related posts about delphi-2010