Hi all, I just trying to work out the form minimum size property and I find that I can get it to work properly for a normal form or an MDI parent form, but MDI Child forms don't work properly.

the code I am using to create the child form is this:
Code:
    Private Sub New_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnNew.Click
        Dim f As New Form2()
        Dim s As Size

        s.Width = 300
        s.Height = 200
        f.MdiParent = Me
        f.MinimumSize = s
        f.Show()
    End Sub

Am I doing something wrong or is this a bug/missing feature of MDI Child forms?

Eamon