Detect, at runtime, what .clientsize was at design time?

  • Thread starter Thread starter Mr. Analogy
  • Start date Start date
M

Mr. Analogy

I'm writing code to resize controls on a Win Form. Is there any way to
detect (at runtime) what the form.clientsize was at design time?
 
Have you looked at the Anchor property of controls? It allows the control to
change shape depending on which of its side(s) are anchored!
 
Yes, but I need the shapes to all MOVE and RESIZE proportionatly.

So, it would look like you just zoomed the whole form. Anchoring
doesn't do that.
 
Figured it out :

If you put the code in the form's MyBase.New()


me.OldHeight=me.clientsize.height , etc.
 
Back
Top