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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tree View not showing scroll bars

Status
Not open for further replies.

AndrewBaines

Technical User
Apr 19, 2002
463
GB
I'm using a treeview to list folders and files - no problem.
I populate the view in formload. Vertical and horizontal scroll bars don't appear even though the content is wide and long. They still don't appear if I resize the window small.
I've tried deleting the other controls on the form, but no joy. If I copy the code and the treeview to another form, it all works ok.
Any ideas?
Thanks
Andrew

Andrew Baines
Chase International
 
Probably a silly question but -

Have got the Scrollable property set to True?


Hope this helps.
 
Sorted it - very odd.
I was using a splitter to allow the treeview and another component to be resized. I The splitter was docked to the right with the other component. The tree view was set to fill.
Changing everything to left, with the other component to fill makes it work.

Andrew Baines
Chase International
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top