Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accepting ? output in a window/form
Message
De
03/09/1999 17:12:32
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Accepting ? output in a window/form
Divers
Thread ID:
00261395
Message ID:
00261395
Vues:
62
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform