by Scott Whitlow (1 Submission)
Category: Custom Controls/Forms/Menus
Compatability: Visual Basic 3.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating:
(4 Votes)
This .bas module allows you to re-size your form and all the controls re-size with it. I kept looking for code out on the internet that would do this right but I was never successful. So, I wrote this to eliminate the need for any ocx's or dll's. It resizes the SStab control which I found was a problem with most resizing routines (check it out for yourself). It also handles lines. It's also alot quicker. All you have to remember is two things. First, add the resize module (rs_form.bas), Second, Add one line of code (ResizeForm Me) to each form you want to re-size.
Inputs
Add the rs_form.bas file to your project,
Put this code in your Form_Resize event:
ResizeForm Me
That's it!
API Declarations
Download rsform.bas (2 KB)