move one child form of mdi to the front end

  • Thread starter Thread starter zbcong
  • Start date Start date
Z

zbcong

hello
if there are several child forms are opened in their mdi parent.how can i
move the one of the child forms to the front end to show in the CODE??

thank you!!!
 
Form1.BringToFront()

assuming you have the handle for the form you want to bring in front. mostly
it is name of the form, in this case Form1. If you do not have the name of
the form in code time then you can know use collection and get the form you
want to bring in front. depending on your need there will be other solutions
to figure that out.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top