VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Auto Form Resize

by Matthew Roberts (26 Submissions)
Category: Miscellaneous
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (15 Votes)

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

Download Auto Form Resize

Download Auto Form Resize (3 KB)

Auto Form Resize Comments

No comments have been posted about Auto Form Resize. Why not be the first to post a comment about Auto Form Resize.

Post your comment

Subject:
Message:
0/1000 characters