Mdi Form
-
I would like to know if they're an easy way to get the name of the mdichildren in an mdiparent. Because i want to display their name in a label. Can someone help me ? I am NOT a newbie
XGaMeS wrote: I am NOT a newbie You risk alot putting this on the table! ;P You can enumerate through the MDIChildren collection in your parent form:
Dim strName As String
Dim frmChild As Form
Dim x As IntegerFor x = 0 To Me.MdiChildren.Length - 1
frmChild = CType(Me.MdiChildren(x), Form)
strName = frmChild.Name
NextRageInTheMachine9532
-
XGaMeS wrote: I am NOT a newbie You risk alot putting this on the table! ;P You can enumerate through the MDIChildren collection in your parent form:
Dim strName As String
Dim frmChild As Form
Dim x As IntegerFor x = 0 To Me.MdiChildren.Length - 1
frmChild = CType(Me.MdiChildren(x), Form)
strName = frmChild.Name
NextRageInTheMachine9532