by SeeD (22 Submissions)
Category: Miscellaneous
Compatability: Visual Basic 3.0
Difficulty: Unknown Difficulty
Date Added: Wed 3rd February 2021
Rating: (12 Votes)
This is, I think, the easiest way to center a form. It is the way reccomended by Microsoft and Microsoft Press. Just stick it into your form_load.
Assumes
just stick this into your form_load place! Easy!
Private Sub Form_Load
Left = (Screen.Width - Width) \ 2
Top = (Screen.Height - Height) \ 2
End Sub