Thanks for the replies. Jcm, your blog is so big that I wouldn't know where to find the part about default instances.
This code partially does what I want. I can set the original form(F1) StartPosition = CenterScreen, but then they all start at the same position. Is there any way I can dock F2-F4 on each edge of the screen? There doesn't seem to be a "Dock" property for starting positions. I would like a form in the centre, and 4 forms on the edges(or even corners). Thank you.
Code:Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim F2 As New F1 Dim F3 As New F1 Dim F4 As New F1 Dim F5 As New F1 F1.Show() F2.Show() F3.Show() F4.Show() F5.Show() End Sub End Class




Reply With Quote