hi,
As my thread subject, how to check open and Active Mdi Child?
Thanks
Printable View
hi,
As my thread subject, how to check open and Active Mdi Child?
Thanks
have you tried using the activeform property of the mdi?
not yet,
Do you mind to tell how to "using" it? :)
to unload the active mdi child, use this code
VB Code:
if not mdi.Activeform is Nothing then unload mdi.ActiveForm end if
you can create a menu that will list all the active windows in your mdi. just check the windowlist property of the menu. at runtime, it will list all the mdi child forms that you open and mark the active mdi child form with a check
I got it, but how to get all open MDIchild form ? just like in window list property.
VB Code:
Dim F As Form For Each F In Forms If F.MDIChild Then ' It's a loaded MDIChild form End If Next F
Thank's d3gerald, bushmobile..
I got it all now :)