>My "boss" insists that our VFP 6.0 system run from a top level form with pushbuttons that call the other forms in the app. These other forms have features that require their own dedicated SYSMENU, so these called forms need to be modeless, even though the system only runs one form at a time. I put DO FORM CCDATA NAME LINKED in the Click Event of the CCDATA push button in the top level form, but when I run the program, focus ultimately ends up back on the top level form, rather than the called form, although the called form is visible and I can send focus to it by clicking on it. How do I get the application to perform as follows:
>
>1. User clicks pushbutton on top level form.
>2. Top level form disappears, focus goes to and remains on
> modeless called form until called form is released.
>3. Top level form reappears and receives focus.
>
>I know this is simple, but I'm stuck.
Mike,
It's doable :) As Mark said, you could hide windows - show windows or pass main form ref to slave form and slave sets main's visibility on/off. OTOH as Nancy and Ed mentioned it's better to have a toplevel form as a container for the app. Then your called forms could be modal and one centric SYSMENU could just change items. Further, you could show any form (and even _screen) as a splash style screen so the difference between an SDI an MDI is visually hidden.
Cetin