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.
