Center a form perfectly (Works with any resolution size)
by SkiLt X (1 Submission)
Category: Custom Controls/Forms/Menus
Compatability: Visual Basic 3.0
Difficulty: Unknown Difficulty
Originally Published: Sun 25th April 1999
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Center a form perfectly (Works with any resolution size)
Rate Center a form perfectly (Works with any resolution size)
Frm.Top = (screen.Height - Frm.Height) / 2
Frm.Left = (screen.Width - Frm.Width) / 2
End Sub
Download this snippet
Add to My Saved Code
Center a form perfectly (Works with any resolution size) Comments
No comments have been posted about Center a form perfectly (Works with any resolution size). Why not be the first to post a comment about Center a form perfectly (Works with any resolution size).
Post your comment