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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top