Tools Links Login

Center a form

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.

Original Author: SeeD

Assumptions

just stick this into your form_load place! Easy!

Code

Private Sub Form_Load
Left = (Screen.Width - Width) 2
Top = (Screen.Height - Height) 2
End Sub

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 81 times

Categories

Visual Basic 6

Attachments

No attachments for this post


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.