Quick MDI form question

  • Thread starter Thread starter inadsad
  • Start date Start date
I

inadsad

Greetings All,
I have one mdi form with serveral forms open. How can I set focus
to one of these forms? meaning the only way I can set focus is to
mouse click on the blue top bar. Is there a way to set focus on a form
by clicking on any where on the form? Forms contain text boxes, drop-
down, etc.

Good Day and Thanks,
Ian
 
Greetings All,
I have one mdi form with serveral forms open. How can I set focus
to one of these forms? meaning the only way I can set focus is to
mouse click on the blue top bar. Is there a way to set focus on a form
by clicking on any where on the form? Forms contain text boxes, drop-
down, etc.

Have you tried setting focus to a control on the form?

This may not be what you want to do, but maybe on the Mousedown Event on
the form that has focus, you have a pop-up menu that allows you to select
the parent or other child forms. You simply set the focus to a control on
the form to make the form receive the focus, based on the selection.

Maybe, you can have a Public function in a Module.vb in the project, because
all the forms can see this Public function and make a call to it passing a
parm to make it set the focus to form.control.setfocus, if the form is open.

It's just a shot, don't hold me to it. :)
 
Back
Top