Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TTreeView hide horz scrollbar

Status
Not open for further replies.

rcloutie

Programmer
May 26, 2005
164
CA
Hi there,

I've built a VCL based on TTreeView control.
Even if some Nodes.Text are wider than the displayed area, I do not want to display the horizontal scrollbar.

I tried ShowScrollBar(ctv.Handle, SB_HORZ, False) without results...

Any idea?

Rej Cloutier
 
It worked for me. I did it from a form's button handler. When you said "I've built a VCL based on TTreeView control" did you mean that you were building a VCL application or a VCL component?

I'm using Delphi 2006.

GIS Programmer
City of Orem, UT
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top