Hi,
I have an MDI Parent form with 2 mdi children.
I have implemented a copy of data from one child to the other, and the
target form should then become the active mdi child.
But when I try to do this:
frmEditor.MdiChildren(1).ActivateMdiChild()
I get a compilation error:
'System.Windows.Forms.Form.Protected Sub ActivateMdiChild(form As
System.Windows.Forms.Form)' is not accessible in this context because it is
'Protected'.
How can I explicitly activate an MDI Child please
thanks for any help
Philip
Cerebrus - 23 Mar 2006 18:29 GMT
Hi Philip,
Have you tried using the simple "Activate" method ?
as in :
frmEditor.MdiChildren(1).Activate()
The ActivateMdiChild() method documentation says : (For .NET 1.1)
This member supports the .NET Framework infrastructure and is not intended
to be used directly from your code.
Regards,
Cerebrus.
> Hi,
>
[quoted text clipped - 17 lines]
>
> Philip