>I have a top-level form (ShowWindow=2) that is designed to be run inside the VFP Development environment. On this form I have a command button that allows the user to open a form for edit: the command button Click method executes:
>
>...
>MODIFY FORM (lcFormName)
>
>This opens the form in the main VFP screen; however, the associated toolbars (Form Designer, Form Controls, etc.) are opened in the Top-level form and not in the main VFP screen. I have tried the following in the click method:
>
>...
>_SCREEN.Activate()
>MODIFIY FORM (lcFormName)
>
>But the effect is the same: toolbars are in the Top-level form. Does someone know how to force the toolbars to be opened in the main VFP screen?
try
ACTIVATE WINDOW SCREEN
MODIFIY FORM (lcFormName)