Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Suddenly Font bold
Message
From
04/03/2019 05:09:14
 
 
To
12/02/2019 08:22:09
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 10
Network:
Windows Server 2016
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01666265
Message ID:
01666948
Views:
54
I've had the possibility to examine a case this morning.
I've got object reference by sys(1270)

If i look at the FontName it is the Font we initially set (Segoi UI).
The fontBold ist .f.
The FontSize is 8

If i change the fontsize to 9 The Control is fine.
If I change it back do 8 it's again Bold, an (visually) another Font.

If i Change the FontName it's ok, if i Change back ist again Bold.

I'm confused. It looks like at that time the "Segoi UI 8" Font ist damaged.
If i Restart out Application everything is fine.


>>>Perhaps another thing to check is what fonts were being specified at design time -- I do vaguely recall in the case where the specified font is not available, Windows may select the "closest match" -- which may or may not all that close in appearance.
>>
>>We're using Segoi UI. The Font is there and everything works fine. Then Suddenly the font is bold. If the user restarts our APP its OK.
>
>It sounds like a bug.
>
>Can you programmatically set the font? If so, setup a timer to check once a second to see if it's bold, and if so then reset it to not bold. Or, change the font to something else and then back again and see if that fixes it. You could also setup a function that's on a hot key and use an ON KEY LABEL to call that code so they can press Ctrl+F5 or something to reset the font if it messes up.
Jörg Schneider
Joerg.Schneider@SMARTCRM.de
SMARTCRM CRM powered by MS Visual FoxPro
SMARTCRM GmbH
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform