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

SPR files don't display correctly in VFP9

Status
Not open for further replies.

phil22046

Programmer
Sep 12, 2001
154
US
I have set the _Screen.themes to .F.

But these spr screens display correctly in VFP6 but not in VFP9. The screens display tables of numbers with column headings. The rightmost pixels on these column headings are shaved off. I have dozens of these old spr programs and would like to fix this problem.

Is there another setting besides _screen.themes = .f. that I need to make?
 
You may have to change your screen property settings to 'Small fonts', or something similar. Fox has it's own idea (dating back to Windows 3.1) of how fonts are displayed. I have had several instances of fonts overlapping their designated area on XP machines.


-Dave Summers-
[cheers]
Even more Fox stuff at:
 
Do you have a suggestion as to how to code this? I looked at the Screen properties and see where you can change the specific font. But is that what you meant?
 

Changing display properties is not something you should do programmatically -- especially on your user's system. These properties will affect all the applications running on the system, and should be under the control of the user.

It would be better to adjust the SPR files to avoid the problem.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

My Visual FoxPro site: www.ml-consult.co.uk
 
I was suggesting you try it to see if that is the issue, so you could avoid reprogramming in the interim.
I wouldn't suggest you automatically do that for everyone's computers.

However, I would definitely take the time to fix the .SPRs anyway.


-Dave Summers-
[cheers]
Even more Fox stuff at:
 
Even in FPW, the *only* way to get fonts to act reliably was to implicitly MODIFY WINDOW SCREEN FONT "Courier New",10 (or some TT font) at the top of your main prg.

Your SPR's may be looking for that setting.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top