I would like to be able to keep both forms opened. This would be like in Word where multiple documents can be opened at the same time and the user can click on "Window" and toggle between the different documents.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of A. Razzak Memon Posted At: Thursday, June 24, 2004 5:08 PM Posted To: RB7-L Conversation: [RBG7-L] - Re: MDI forms Subject: [RBG7-L] - Re: MDI forms At 04:43 PM 6/24/2004 -0500, Charlie Parks wrote: >Is there away to set up a button that jumps between MDI forms? > >For example if I had >EDIT USING ... MDI AS Form1 >EDIT USING ... MDI AS Form2 >and was on Form1 could I execute a command that would jump me >to Form2? > >Is the SETFOCUS command what I am looking for? It doesn't >seem to work for me. Charlie, I haven't tried it, but you could use the following technique: On Form1 place a button with the following code: CLOSEWINDOW Form2 CLOSEWINDOW Form1 EDIT USING ... MDI AS Form2 RETURN On Form2 place a button with the following code: CLOSEWINDOW Form2 CLOSEWINDOW Form1 EDIT USING ... MDI AS Form1 RETURN That should do the trick. Enjoy and make sure to have fun! Very Best R:egards, Razzak.
