Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Status bar blank 2

Status
Not open for further replies.

CJMK

Programmer
Jul 2, 2014
30
US
Suddenly, the status bar (in main vfp IDE shows nothing! Restart is no help. Menu items show as I mouse over them, but record # and name of table not showing. Have tried resetting message, notify, set status and set status bar to no avail.
 
The command you need is When SET NOTIFY CURSOR.

From the VFP Help:

When SET NOTIFY CURSOR is set to OFF, Visual FoxPro suppresses all data-related messages from displaying in the status bar. These messages include alias, data source, record pointer, record count and exclusive/record unlocked status.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads
 
Thanks so much. Leaves me wondering how it got turned off -- but not expecting an answer to that!
 
Yes, I was wondering that as well. Given that it is On by default, and (as far as I know) you can't change it from within the IDE, there must be some command being executed to turn it off - perhaps in a startup program or config.fpw.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads
 
Gamma rays from Prixima Centouri maybe...
Maybe from building an app?? doesn't seem right.
 
I regularly have the status bar not showing line numbers in code editors, SET MESSAGE TO usually helps, but you did that and it already turns out it was SET NOTIFY CURSOR.

Anyway, when that doesn't work I also had success changing _screen from maximized to normal and back on Win7, the status bar seems a bit cursed.

I just experimented with Mikes idea of breakpoints watching for changed expressions. They don't react when a) the debugger isn't running b) the expression changes from the command window and not running code, haven't checked for config.fpw yet, but indeed while compiling a project with an active project hook anything can happen by that hook code. Also during development, because it's not just a compile hook it has several hook events for project manager related events.

And any code you inherited in class libraries shutting that notification messages off and never on again. But those will show up when you have such a breakpoint defined and have the debugger active.

Bye, Olaf.

Olaf Doschke Software Engineering
 
I like to keep things really simple. No hooks, no stored procedures, and vanilla class libraries -- usually just the main one, and never more than 2 levels of sub classing. If this happens again, I will set the break point. thanks
 
I have a vague memory of some tool that comes with VFP having code that changes SET NOTIFY and doesn't change it back. But no idea which one.

Tamar
 
Wow, You have been around a looonnggg time. You are a great writer. Thanks for all the scrapes your books have helped me escape. For now I am sticking with the gamma ray theory. And knowing how to handle is the answer.
 
Can't decide how to take that "looonnggg time" comment. (Actually, I'm sitting here laughing.) People usually avoid saying things to women to suggest that they're old.

But yeah, I've been doing Fox-related stuff for more than 30 years. My first Fox article appeared in FoxTalk in 1990. (Hmm, maybe I was 5 then? <g>)

Tamar
 
And I read it the day it arrived every month. What a jewel it was. Your books too. BTW I'll be 80 later this year. So much respect for longevity.
 
FWIW, I'm 60, which most days, doesn't feel anywhere near as old as I thought it would, say, 30 years ago.

Tamar
 
Same here. If you are ever in the Seattle area, we have a spare bedroom available (most times).
 
Thanks for the offer. Passed through Seattle last summer for the first time since my son moved away from there in 2011. No plans to be back anytime soon.

Tamar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top