VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Auto-Center controls on resize

Troll  (2 Submissions)   Miscellaneous   Visual Basic 5.0   Intermediate   Wed 3rd February 2021

**** NEW VERSION WITHOUT TIMER BUG ****
I made this code to auto-center all controls on a form. This code is used to make an application to fit on any screen resolutions.
Basicly, when we resize a form, all the controls won't move and will stay on the upper left corner of the form. With my code, when you resize the form, all the controls will be centered on the form. The code use a dynamic structure to save all objects positions. You can save positions of the controls on each form you want.
I have a version for MS Access. If you want it, just send me a mail. :)

Rate Auto-Center controls on resize (8(8 Vote))
Auto-Center controls on resize.bas

Auto-Center controls on resize Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters