by Troll (2 Submissions)
Category: Miscellaneous
Compatability: Visual Basic 5.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating:
(8 Votes)

**** 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. :)
Upload