At 05:34 PM 6/24/2004 -0500, Charlie Parks wrote:

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.


Sure you can do the same thing! (if I understand correctly)

Here's how:

CONNECT ConComp
EDIT USING CustomerEdit MDI AS Form1
EDIT USING ContactsEdit MDI AS Form2
RETURN

Now you can switch between forms using the click on "Form1"
and then click on "Form2" and so on to toggle between the
different forms!

Very Best R:egards,

Razzak.


-----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.



Reply via email to