Need To Send Focus To MDI Child

  • Thread starter Thread starter Daniel Friend
  • Start date Start date
D

Daniel Friend

I have 2 MDI children on a MDI parent.

Each children have the Window FormBorderStyle=none and I am making my own
Graphical window style.

If I open the first window, it all works fine, but on the second window, the
first window still had focus.

on each Form_Load statement I tried

me.focus
me.select

Both does not work

the only way I can get focus is by click on the form. Is there a way to do
bring focus to a MDI child form programically besides the code above?

Thanks,

Dan
 
* "Daniel Friend said:
I have 2 MDI children on a MDI parent.

Each children have the Window FormBorderStyle=none and I am making my own
Graphical window style.

If I open the first window, it all works fine, but on the second window, the
first window still had focus.

on each Form_Load statement I tried

me.focus
me.select

Both does not work

In the main form, call 'Me.ActivateMdiChild(<form>)', maybe this works.
 
Back
Top