Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Seems a bug in VFP7 and SET STATUS BAR
Message
From
17/10/2001 15:06:04
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Seems a bug in VFP7 and SET STATUS BAR
Miscellaneous
Thread ID:
00569852
Message ID:
00569852
Views:
70
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
Next
Reply
Map
View

Click here to load this message in the networking platform