Notice Of Closure

Please note that this website is due to close down on 15th June 2020.

In the interim I will try to move as much content as possible over to my GitHub account. Thanks to everyone who has supported the site over the years.

» Help

How to create a TTreeView without scrollbars

I want to use a TreeView (with more visible items than its window can show), but I don't need its scrollbars. How to do that?

Derive a new control from TTreeView and override its CreateParams method like this:


procedure TNoScrollbarsTreeview.CreateParams(var Params: TCreateParams);
  inherited; := or TVS_NOSCROLL;
Original resource: The Delphi Pool
Author: Peter Below
Added: 2009-09-07
Last updated: 2009-09-07

« Return to contents »