I'm wondering if it is possible to output text to the main window in foxpro while a form is active? Once the form is up my ? commands get sent to the form but that is not where I want them displayed.
You need to set the AllowOutput property of your form to false.
Setting the AllowOutput property to False (.F.) on a form, changes the following Visual FoxPro behavior.
- Painting of the form is redirected to the next output window or desktop. This affects commands, such as ?, ??, DIR, LIST, DISPLAY, CLEAR, and other commands that display output on a form.
- The WOUTPUT( ) function does not return the name of the active form. It returns the name of the current output form or desktop.
- The BROWSE command does not inherit the window size and window settings of the form.
- The MCOL( ) and MROW( ) functions, without the use of their optional parameter, may not be relative to the form they are called on.