Search Tools Links Login

Auto Form Resize


Visual Basic 6, or VB Classic

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.

Original Author: Matt Roberts

Assumptions

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)

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 99 times

Categories

Visual Basic 6

Attachments

CODE_UPLOAD69956222000.zip
Posted: 9/3/2020 3:45:00 PM
Size: 3,913 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.