I have been using this to center forms:
I have seen somewhere where they explained how to center the form with only one line of code. Anyone know how? I can't find the site anywhere.Code:myform.left = (Screen.Width - myform.Width) / 2 myform.top = (Screen.Height - myform.Height) / 2




Reply With Quote