treeview height problem

  • Thread starter Thread starter Selen
  • Start date Start date
S

Selen

Hello,
When I expand the treeview's nodes its height extending.I want its height be
fixed and view a scroolbar.Is this possible??

Thanks
 
When I expand the treeview's nodes its height extending.I want its height
be
fixed and view a scroolbar.Is this possible??

You need to set the TreeView.Scrollable property on the TreeView.
See MSDN article :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/
frlrfsystemwindowsformstreeviewclassscrollabletopic.asp

Hope this helps.

--
Adrian Mascarenhas, Developer Division

This posting is provided "AS IS" with no warranties, and confers no rights.

Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.
 
Back
Top