I have a MDI form with 5 childforms. If I set the childforms to anything other than borderstyle = 2 (sizeable) when I open the childforms they are not visible.
Any ideas?
Printable View
I have a MDI form with 5 childforms. If I set the childforms to anything other than borderstyle = 2 (sizeable) when I open the childforms they are not visible.
Any ideas?
It doesn't make any sence. How do you open your child forms?
frmMembers.Visible = True
This works with borderstyle = 2
*BUMP*
Why don't you try Show method instead of Visible property. Also, try to stop your project and in debug window check each loaded form Left/Top to make sure it doesn't have any negative values.
That'll only work if the form has been loaded.Quote:
Originally posted by aikidokid
frmMembers.Visible = True
This works with borderstyle = 2
Load frmMembers
I have this in the menu
and it still won't show with borderstyle = 1VB Code:
Private Sub mnuMembNewMemb_Click() Load frmAddMember frmAddMember.Visible = True End Sub
As IROY55 suggested:
VB Code:
Private Sub mnuMembNewMemb_Click() frmAddMember.Show End Sub