Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to redirect the messages in the status bar ?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00051286
Message ID:
00052126
Views:
39
>>>>Hello guys,
>>>>Is there a way to turn off the status bar, but still have
>>>>the messages displayed in another place, like the small
>>>>window that shows when you say :
>>>>WAIT "Hello" WINDOW NOWAIT
>>>>I don't like how the status bar looks in Win95, but I like
>>>>to know what the system is doing. In example, all my
>>>>SQL-Statements I have it sorrounded with SET TALK ON and
>>>>SET TALK OFF, without the status bar this will screw up my
>>>>screens, Is there a way to redirect the output of
>>>>the status bar without going through all the code.
>>>>
>>>>=THIS.thanks("in advance")
>>>
>>>see the VFP Help on "Set Talk" What I have done in the past is define a dummy window that is never shown and "Set Talk Window DummyWindow" This way I do not use the status bar, but with set talk on I still get the SQL progress bar but all other output gets redirected to the dummy (unseen) window.
>>
>>Hi Mark,
>>Something else about this problem. Is there a way to have FoxPro
>>to do this automatically?. If you are working from the command
>>window and say SET STATUS BAR OFF, after that, Fox redirects all
>>the output to a nice Window that adjust its size with every
>>new message, but it doesn't do that at run time, at run time
>>it sends the messages to the active window. Which is an
>>inconvenient.
>>Thanks
>
>How are you "sending" messages in your application? MessageBox? Wait Window? I do not understand what would direct messages to a window except during runtime.

Hi Mark,
I surround my SQL-Statements with SET TALK ON and SET TALK OFF
that way I will have a progress bar. If you have the STATUS BAR ON
it will show in the status bar the amount of records found and
the time it took to find it, if you have the STATUS BAR OFF it wil
send the same information to the actived window. The same thing
when you open a database with USE and set an order with SET ORDER TO
IndexName, it shows the path of the CDX file either in the
STATUS BAR or in the actived window. What I would like to have is
something similar at what FoxPro does automatically, that way
I don't have to go to every SQL-Statement to fix that. Try this :
.- From the command line say:
SET STATUS BAR OFF
SET TALK ON
.- Open one of your projects
.- Select "Build" and then "Rebuild All"

You will see how FoxPro uses a small window in the upper
right of your screen to display the progress of the rebuilding process.
That is what I want.

Thank you very much for your response.
.-

Open
Any suggestions ?
Thanks again for your response.
Luis Guzman, MCP
"The only glory most of us have to hope for
is the glory of being normal." Katherine Fulleton Gerould
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform