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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Field appears then disappers when the field is left...

Status
Not open for further replies.

Menglish

Programmer
Jun 22, 2001
66
I have an old program running. I find the customer, scatter memvar and then using @...Say to view. I am displaying this information on the screen:

Ship To:
Ship Address:
Ship City,State,Zip:

When the fields display, "Ship To:" doesn't display until the field is entered. When the cursor is moved (lost focus), the entry disappears. I came across this using Visual FoxPro and running old programs and fixed it but this is different.

Any suggestions?
 
This is a known issue with themes in VFP when running programs that originated in earlier versions.

Add this to your startup program:

_Screen.Themes = .f.
 
Sorry to be so long Dan, but _Screen.Themes is not supported in FoxPro 2.6. This has been running several years and suddenly started doing this. No programming was changed as this is a compiled EXE file. They are running Windows XP and have changed no settings. This one has me climbing the walls.

Thanks for any ideas...

Millard
 
Sorry. Some responses are automatic and this was one of them.

You say nothing changed but clearly something did because the behavior changed.

Did Windows update change your video driver or its settings? Windows settings themselves? Was something installed that's completely unrelated but changed a setting you rely on (whether you know it or not)?

It worked before. It doesn't now. What changed?
 
The only thing that changed was the server...from Windows 2000 Pro to Windows XP Pro. The problem program only accesses the server for the tables. The two clients are running as stand-alones except for this. All was fine and they told me the field would not display until the pointer entered the field. When the pointer moved from the field, the entry disappears.

This company is located about 26 miles from me. Only one person there (10 employees) knows anything about computers and he is part-time. Neither of the two computers running the FoxPro DOS programs have internet access so they can't update.

Thanks for the advice and I'll keep looking.

Millard[/b]
 
You'll help in describing your situation if you stop using the word "server". Neither Windows XP Pro nor Windows 2000 Pro are server operating systems. You have a peer-to-peer network.

What you describe is really very strange for a DOS application in general (but as I mentioned previously EXACTLY describes a phenomenon encountered with 2.x "screens" run in VFP). DOS wasn't picky about screen display. It didn't really do much at all.

If I wanted to cause the behavior you're seeing, I'd mess with the READ COLOR clause and set the inactive colors to something that matches the background. If there is a READ COLOR setting and someone messed with the Windows color settings, that could explain what you're seeing.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top