I
illegal.prime
Hi all, I realize this should be obvious, but I don't know what I'm not
doing. I have a form to which I add a variable number of controls.
All I need the form to do is to shrink or grow according to the size of
the controls added.
I suppose I could manually calculate the dimensions that the controls
occupy and then manually set the Form's dimensions. But there has to
be a more automatic way - I thought the AutoScale property being true
would handle this, but I think that only scales the controls as the
Form is resized - not vice-versa.
Thanks for any suggestions,
Novice
doing. I have a form to which I add a variable number of controls.
All I need the form to do is to shrink or grow according to the size of
the controls added.
I suppose I could manually calculate the dimensions that the controls
occupy and then manually set the Form's dimensions. But there has to
be a more automatic way - I thought the AutoScale property being true
would handle this, but I think that only scales the controls as the
Form is resized - not vice-versa.
Thanks for any suggestions,
Novice