View Single Post
  #2 (permalink)  
Old 05-08-2008, 05:45 AM
Erel's Avatar
Erel Erel is offline
Administrator
 
Join Date: Apr 2007
Posts: 2,636
Default

You can use the following code to set the position of the next form:
Code:
Sub App_Start
    Form1.Show
End Sub


Sub Button1_Click
    form2.Show
    form2.Left = form1.Left
    form2.Top = form1.Top
End Sub
Reply With Quote