Hello
is the following the best way to center a form:
Sub CenterForm(Frm As Form)
Frm.Move (Screen.Width - Frm.Width) / 2, (Screen.Height - Frm.Height) / 2
End Sub
VFP has a centerform property and I expect there are API function to center a form, is there and is it better to be used than the above code.
Thanks
Mo
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only