假设这两个窗体分别是form1和 form2
form1窗体代码是:
Private Sub Command1_Click()
Load Form2
Form2.Show
End Sub
form2窗体代码是:
Private Sub Form_Load()
Form2.Top = Form1.Top + 200
Form2.Left = Form1.Left + 200
End Sub
Private Sub Command1_Click()
Form2.Show
Form2.Top = Form1.Top + 200
Form2.Left = Form1.Left + 200
End Sub