Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unwanted _screen clearing
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00798388
Message ID:
00799122
Views:
58
What my intention for testing purposes was:

1. Change the screen font to colors for testing purposes and smaller size.
2. Save the current screen font and colors to variables.
3. Print something using a font larger than screen fonts.
4. Ensure print job prints correct font size and black on white.
5. Set the screen font back to the original fonts/size in step 1 above
using the values saved in variables in step 2.

>>>>So far the below works!!!!! I'll test in the app today...
>>>
>>>There are two (update: 3) things I noticed.
>>>
>>>First, you're saving and changing the screen font in the wrong order.
>>
>>I don't understand. What is the right order?
>
>I trimmed it, but you were doing something to the effect of:
>
ScreenFont = Arial
>lcFont = ScreenFont
>ScreenFont = lcFont
>
>instead of
>
>
lcFont = ScreenFont
>ScreenFont = Arial
>ScreenFont = lcFont
>
>>>Second, why bother? You're just throwing this away when you're done, right? :-)
>>Nope, I plan on incorporating the pertinent fix to the app.
>
>No, I don't mean the fix, I mean the second instance of VFP. You're only using it for the output, right?
>
>I wish I had read Jim's fix before posting: I'll bet it solves your problem better than my idea does.
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Reply
Map
View

Click here to load this message in the networking platform