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

Resize control with form

Status
Not open for further replies.

golcarlad

Programmer
Nov 23, 2004
232
GB
Sorry for the simpleness of this question.

Whats the best way to resize a treeview control in line with the form when its resized by the user?
 
A "code-free" solution might be to experiment with the Anchor and Dock properties of the control(s) in question.

Hope this helps.

[vampire][bat]
 
Yes, anchor is the answer here - so simple afterall. Didnt realise the effects of anchoring a control in all four directions - does exactly what I need with no fancy or overly complex code.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top