solution to screen centre |
| Umapathy Kaliaperumal replied to Partha Mandayam at 04-Jul-08 12:34 |
as the top is the starting point, it should not be at the centre rest forms centre and screens centre point should overlapp. Try this
frm.Top = (Screen.Height * 0.5) - (frm.Height / 2)
frm.Left = (Screen.Width * 0.5) - (frm.Width / 2)
|
|