Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Seems a bug in VFP7 and SET STATUS BAR
Message
De
17/10/2001 15:06:04
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Seems a bug in VFP7 and SET STATUS BAR
Divers
Thread ID:
00569852
Message ID:
00569852
Vues:
72
There seems to be a problem in VFP7 where the setting of SET STATUS BAR is not recognized when running a large query. And therefore the thermometer does NOT appear. Yes, I am setting TALK ON.

UNLESS I 'SET STATUS BAR ON' in a .prg that runs the SQL SELECT (eventhough its already ON), and UNLESS I have a form active, I will not get the thermometer. For example:

If I already have SET STATUS BAR set to 'ON'.
Then I run the following .prg:

? SET("STATUS BAR") && show that status bar is set to ON
SET TALK ON
SELECT * FROM <>
SET TALK OFF

This query will NOT show the thermometer. However, it will: If a FORM is active, or if you run this from the command window and not a .prg. (strange)

Now, if I modify the .prg to the following, by adding the first line, I *WILL* get the thermometer. For some reason, eventhough I had SET STATUS BAR set to ON, VFP7 did not recognize it unless I have this statement in the .prg.

SET STATUS BAR ON && eventhough it is already on...
? SET("STATUS BAR") && show that status bar is set to ON
SET TALK ON
SELECT * FROM <
>
SET TALK OFF

This is not a problem in VFP6.
Any comments welcome. Thanks.

Mark
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform