VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Auto-Center controls on resize

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

Rate Auto-Center controls on resize

Upload

Download this snippet    Add to My Saved Code

Auto-Center controls on resize Comments

No comments have been posted about Auto-Center controls on resize. Why not be the first to post a comment about Auto-Center controls on resize.

Post your comment

Subject:
Message:
0/1000 characters