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.
 
Back
Top