Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to change form caption font?
Message
De
27/12/1997 15:56:20
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
27/12/1997 15:34:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00067445
Message ID:
00068097
Vues:
32
>>>Example:
>>>
>>>I have installed windows standard multi-language support from control panel/add/remove programs/windows setup.
>>>Fontname property of label allows to select fonts: Arial, Arial Baltic, Arial Cyr etc.
>>>Windows cpcurrent()=1251 (specified via Regional Settings/Russian during windows setup.)
>>>
>>>If I select Arial Baltic, the font actually shown is Arial Cyr !
>>>- it seems that form label displays only window's base language
>>>font and ignores other fonts.
>>>Is this foxpro bug ?
>>>
>>>Also, getfont() allows to select script. But it will not return the selected
>>>script. Why getfont() allows to select the script? Is it another bug?
>>>
>>>>>Also, fontname property doesn't allow to select different language fonts.
>>>>>Fox example, it simply allows to specify Times New Roman and uses always current language.
>>>>>
>>>>I don't see it to be a problem. At least, I have no problems with support for Russian in my apps. If the national font is installed in Windows, it appears in FontName property list.
>>>
>>>Also you should have some kind of national keyboard driver
>>>installed on user's PC if it is not supplied with Windows.
>>>>
>>>>HTH,
>>>>
>>>>Nick
>>Hi,
>>For script problems I found this to be useful.
>>In win.ini - font substitutes section :
>>Arial,0=Arial,162 && 162 is for Turkish, you can see yours at the line with Arial Baltic,0 = ..(or Bal ?)
>>Times New Roman,0=Times New Roman,162
>>....
>
>Is it possible to switch between turkish and english fonts in
>window caption, system menu or in any vfp output
>without re-booting windows? Can it be done in any way, to be it
>manually from control panel or programmatically from vfp program?
>
>I think that ini manipulation reqires re-booting, but this is not
>acceptable.
Without rebooting I could do it with switching between two similar fonts (one with support of Turkish - ie: MS Sans Serif and Arial). I do it through \control panel\display properties\apperance - active (inactive) title bar font but don't know how to do it through VFP.
>
>If you have standard windows where cpcurrent() is 1252 (english)
>and ini file unmodified,
>can you show turkish fonts in ANY
>visual foxpro caption, label on other places without booting
>Can you switch between english and turkish fonts?
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform