General information
Title:
Accepting ? output in a window/form
I have a question about how VFP determines whether a given window can accept output from the VFP ? command.
Here is a sample scenario:
1. Run an APP which opens a modeless form.
2. Go to the command window, do '? 222'. '222' appears in the form, messing it up to high heaven.
3. Type 'ACTIVATE SCREEN' in command window, then '? 222'. '222' now appears on the VFP screen.
4. Bring the APP form to the front.
5. Go back to the command window and '? 333'. '333' appears in the form again.
Okay, so you figure that you just need an 'ACTIVATE SCREEN' in your APP form's DEACTIVATE method. But...
6. Open a window with MODI COMM FOO
7. Go back to the command window, and the old APP form is still receiving the outpout of '? 333'.
Now, clearly, VFP knows that the MODI COMM window should not receive the output of the ? command, so it's bypassing that window to put output in the fom app's window, even though it's not the currently active window.
Is there some way to make VFP know not to send ? output to the form window?
-- jas
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only