Sub CenterChild (Parent As Form, Child As Form) Dim iTop As Integer Dim iLeft As Integer If Parent.WindowState <> 0 Then Exit Sub iTop = ((Parent.Height - Child.Height) \ 2) iLeft = ((Parent.Width - Child.Width) \ 2) Child.Move iLeft, iTop End Sub
terus callnya CenterChild MDIForm1, Form1 > Gimana yah biar kalo MDI Childnya di show langsung ke tengah MDI Formnya > kalo pake properti StartupPosition kok nggak bisa yah... __________________________________________________ Apakah Anda Yahoo!? Lelah menerima spam? Surat Yahoo! memiliki perlindungan terbaik terhadap spam http://id.mail.yahoo.com
