0

Hello every1, my problem is how to remove controlBox of MDI child.
i mean that i already set MDI child:
ControlBox to False
minimizeBox to false
MaximizeBox to flase
set windowstate to maximized
formborderstyle to fixed3d

When i open the form in MDI Parent, all the button minimize, maximize, exit appear
Here's a preview:

MDIPARENT - [MDIChild]-->___________ - []X
MDIChild -----> ____________________- []X (This is the part that i want to remove)

hope understanding

Please help
thanks

3
Contributors
9
Replies
10
Views
8 Years
Discussion Span
Last Post by __avd
0

Set Following properties:
Form2 is a MDI Parent form so set

IsMdiContainer = True

Form3 is Child

Form3.ControlBox = False
        Form3.MaximizeBox = False
        Form3.MinimizeBox = False
        Form3.MdiParent = Form2  ' or Me
        Form3.Show()
0
frmWatch.ControlBox = False
        frmWatch.MaximizeBox = False
        frmWatch.MinimizeBox = False
        frmWatch.MdiParent = Me
        frmWatch.Show()
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.