RobEmDee Posted March 25, 2003 Posted March 25, 2003 I've got a form with a ListBox and TreeView on the left hand side, one on top of the other. I would like to anchor them in a manner that when the form is resized, the two objects height will be the same....or possibly better worded: each to have the maximum height given the half of the vertical space available. Right now I have each of the controls in separate panels. Thanks! Quote
*Gurus* divil Posted March 25, 2003 *Gurus* Posted March 25, 2003 Unfortunately the framework doesn't provide a way to automagically do this - you'll have to write the code yourself. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
RobEmDee Posted March 25, 2003 Author Posted March 25, 2003 Thanks for your response. I had to code it out myself and it worked out fine. Not as hard as I envisioned! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.