Center the Form Through Coding
Center the Form Through Coding
Rate Center the Form Through Coding
(2(2 Vote))
Me.Top = (Screen.Height - Me.Height) / 2 ' Me is for the Form
Me.Left = (Screen.Width - Me.Width) / 2 ' Screen gives your Screen Details
' If U are using MDI Form then replace Screen with MDI form name
End Sub
Center the Form Through Coding Comments
No comments yet — be the first to post one!
Post a Comment