I have seen programs where there are to different forms attached together so when you move one the other moves and you can close or minimize one also how can i do this ?
Printable View
I have seen programs where there are to different forms attached together so when you move one the other moves and you can close or minimize one also how can i do this ?
Sounds as if you are referring to MDI Forms.
you can cheat and easily do this...
in a timer (interval set to 1)
form2.left = form1.left + form1.width
Form2.top = form1.top
or go to Kedamans Site...he has some really good code for this.
Or, add a MDI form to a project and set the MDIChild property to true for the standard form, and dump this into the MDI's Form_Load event:
Code:Private Sub MDIForm_Load()
Form1.Show
End Sub
you got it righ geoff_xrx