MDI child question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • rv daffin

    MDI child question

    After receiving help from you guys I have converted a small program to use a
    MDIform. My problem now is when I unload a child form to update it and then
    re-display it, it seems to rachet down and to the right in relation to the
    MDIform. I would like to unload or otherwise refresh the child form when a
    item on the menu bar of the MDIform is clicked.
    Thanks again for your help.

    --
    rvd


  • Rick Rothstein

    #2
    Re: MDI child question

    > After receiving help from you guys I have converted a small program to
    use a[color=blue]
    > MDIform. My problem now is when I unload a child form to update it and[/color]
    then[color=blue]
    > re-display it, it seems to rachet down and to the right in relation to[/color]
    the[color=blue]
    > MDIform. I would like to unload or otherwise refresh the child form[/color]
    when a[color=blue]
    > item on the menu bar of the MDIform is clicked.
    > Thanks again for your help.[/color]

    Save the Top and Left properties for the child form (in a "global"
    variable) prior to unloading it and then use the child form's Move
    method inside of the form's Load event to place it back where it came
    from.

    Rick - MVP

    Comment

    Working...