¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: _screen.caption trick


Jim Tooley
 

¿ªÔÆÌåÓý

Hi Stein,
?
I've been going over some code Eric showed us years ago which I've just taken for granted because it's just been there... working quietly in the background every time I start VPF.
?
Basically you need to issue:
?
_screen.caption=sys(5)+sys(2003) from the command window or somewhere.
?
What I was remembering at the meeting was that this line is in my config file at startup ... being there it only shows me were I am at startup. I've been playing with MACROS under TOOLS on the toolbar.? I set one up so that when I hit the F12 key it will refresh the _screen.caption property. The code I entered in the Macro box is:
?
_screen.caption=sys(5)+sys(2003){Enter}
?
This of course mimicks CD? but at least you know exactly where to look on the screen for the folder you are in.
?
If the macro were set up like this:??? {Enter}_screen.caption=sys(5)+sys(2003){Enter}?? then you could use the F12 key as an alternate "Enter" key and the screen.caption would be updated everytime you did something in the command window.
?
It would be nice to suppress the output that goes to the Command Window but the only properties that I can found for the Command Window are found by right-clicking in it. There doesn't seem to be a lot of controls to play with there.? Do you know how to did deeper into it? I don't think we can just run a macro on the "ENTER" key.
?
Jim
?
?

----- Original Message -----
Sent: Friday, February 20, 2004 10:04 PM
Subject: [madfox_vfp] _screen.caption trick

Jim T, you mentioned that you had your system set up so that the current directory would be echoed in the VFP screen caption.? Is there associated code or config info that you could post?

?

--stein

?

Stein Goering

Arbutus Computer Services

17494 Merry Hill Rd

Richland Center, WI? 53581

?

608.538.3820

?

?


Join [email protected] to automatically receive all group messages.