|
-
Aug 5th, 2002, 01:57 AM
#1
Thread Starter
New Member
Form Minimum size
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
-
Aug 5th, 2002, 07:09 PM
#2
Thread Starter
New Member
Still not fixed.
Sorry if anyone got that last post (now deleted). I had said that I had it fixed, but I wasn't thinking clearly. What I had done was remove the line so it wasn't an MDI child form.
If it is an MDI Child, it still doesn't respect the minimum size property.
Eamon
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|