|
|||||||
|
|
|
|||||
|
|
|||||||
Sub MoveCenter(frm As Form)
'If want to show a form at center just when loaded, you only set this form's property "StartUpPosition" to "Screen Center"
frm.Move (Screen.Width - frm.Width) / 2, (Screen.Height - frm.Height) / 2
End Sub
Copyright (c) 1999 - 2001, robert han, all rigths are reserved.