home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.visual.basic      MS Visual Basic discussions, NOT dot-net      10,840 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 8,985 of 10,840   
   Rick Rothstein to All   
   Re: MDI child question   
   17 Nov 04 16:07:43   
   
   From: rickNOSPAMnews@NOSPAMcomcast.net   
      
   > 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.   
      
   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   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca