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

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?
 
T

Thief_

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!
 
M

Mr. Analogy

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.
 
M

Mr. Analogy

Figured it out :

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


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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top