VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Auto Form Resize

Matthew Roberts  (26 Submissions)   Miscellaneous   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

Automatically rescales a form to keep the layout identical at any size. For those of you out there who lock your forms to a certain size because rescaling is such a pain, give this a try...you will love it! NOTE: Although this code works as is, it is JUST AN EXAMPLE. You should be able to take the same logic and apply it to all of your forms, but please note that this example does not handle every type of control. For special controls (dbGrid, etc.) you will have to write a little code yourself to make it work.

Assumes
This is a sample form & module. You will need to paste the code into your forms & a module.

Side Effects
None (that I know of)

Rate Auto Form Resize (15(15 Vote))

Download Auto Form Resize

Auto Form Resize Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters