Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / March 2006

Tip: Looking for answers? Try searching our database.

Activate MDI Child

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Philip - 23 Mar 2006 17:47 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.