mistaken_myst
Active member
- Joined
- Oct 29, 2007
- Messages
- 25
- Programming Experience
- Beginner
Hello, I need help on MDI use.
Forms: frmCon, frmF1, frmF2, frmF3, frmF4, etc ..
Most of the Forms creation below is activated using Buttons:
From frmCon (Container):
dim f1 as frmF1
f1.mdiParent = Me
f1.Show()
From frmF1:
dim f2 as frmF2
f2.mdiParent = frmCon.ActiveForm
f2.Show()
From frmF2:
dim f3 as frmF3
f3.mdiParent = frmCon.ActiveForm
f3.Show()
From frmF3:
dim f4 as frmF4
f4.mdiParent = frmCon.ActiveForm
f4.Show()
1. If frmF1 Button is pressed twice, 2 frmF3 will be opened.. How can I verify that an instance of frmF3 is already opened before opening a new frmF3 ?
2. I'm quite new at MDI use, please tell me if there things I should improve in the way I'm using it.
Forms: frmCon, frmF1, frmF2, frmF3, frmF4, etc ..
Most of the Forms creation below is activated using Buttons:
From frmCon (Container):
dim f1 as frmF1
f1.mdiParent = Me
f1.Show()
From frmF1:
dim f2 as frmF2
f2.mdiParent = frmCon.ActiveForm
f2.Show()
From frmF2:
dim f3 as frmF3
f3.mdiParent = frmCon.ActiveForm
f3.Show()
From frmF3:
dim f4 as frmF4
f4.mdiParent = frmCon.ActiveForm
f4.Show()
1. If frmF1 Button is pressed twice, 2 frmF3 will be opened.. How can I verify that an instance of frmF3 is already opened before opening a new frmF3 ?
2. I'm quite new at MDI use, please tell me if there things I should improve in the way I'm using it.