Anchoring Controls

RobEmDee

Centurion
Joined
Mar 25, 2003
Messages
130
Location
Richmond, VA
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!
 
Unfortunately the framework doesn't provide a way to automagically do this - you'll have to write the code yourself.
 
Back
Top