Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accepting ? output in a window/form
Message
From
03/09/1999 17:12:32
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Accepting ? output in a window/form
Miscellaneous
Thread ID:
00261395
Message ID:
00261395
Views:
61
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
Map
View

Click here to load this message in the networking platform