VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

rsform.bas

Scott Whitlow  (1 Submission)   Custom Controls/Forms/Menus   Visual Basic 3.0   Advanced   Wed 3rd February 2021

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

Rate rsform.bas (4(4 Vote))

Download rsform.bas

rsform.bas Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters