Quick MDI form question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • inadsad@hotmail.com

    #1

    Quick MDI form question

    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

  • Mr. Arnold

    #2
    Re: Quick MDI form question


    <inadsad@hotmai l.comwrote in message
    news:1181110504 .292467.135490@ i38g2000prf.goo glegroups.com.. .
    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.se tfocus, if the form is open.

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



    Comment

    Working...