Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I want to show a MDI child form on the top of other opened child forms.

 

frm.Show() doesn't make it show on the top..

How can I do this?

 

Thanks..

Sun Certified Web component Developer,

Microsoft Certified Solution Developer .NET,

Software Engineer

Posted

Thank you for response..

However it doesn't work since the forms are MDI Child.

I want to change Z-Order of MDI child Forms.

 

If I use ShowDialog.. following exception occurs.

System.InvalidOperationException: Forms that are not top level forms cannot be displayed as a modal dialog. Remove the form from any parent form before calling showDialog.

Sun Certified Web component Developer,

Microsoft Certified Solution Developer .NET,

Software Engineer

  • 2 weeks later...
  • 4 months later...
  • 4 years later...
Posted
How can I show MDI child form on the top?

 

After you call the

MdichildObjectRef.show()

method of the MDIChild,

immediately call this method:

MDIParentFormName.ActivateMdiChild(MdichildObjectRef)

  • 3 months later...
Posted

this is not working...i cant see the form on the top..

 

can soeone help me..

I am using VB..

 

the instructions are :

 

 

Dim NewMDIChild As New makebatch.Form2

NewMDIChild.MdiParent = Me

NewMDIChild.Show()

 

 

thanks

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...