Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing font
Message
De
27/11/2014 04:40:37
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01611319
Message ID:
01611488
Vues:
49
Karen,

This works for me, - havent test it in a menu - but should not be a problem, and you can break the variable lcFontstyle into separate components to your liking:
lcfontstyle = [ FONT "Courier",14 STYLE "BI" ]
? DATE() &lcfontstyle
Regards,

Koen


>thanks Koen. From what I could follow I came up with this - however I must be missing something - The fonts characteristics are not actually applied.
>
>lcfont_name =   'Courier New'
>lnfont_size =   14     
>lcfont_style =   'BI'
>
>lcxxx = [FONT "] + lcfont_name + [", ] + ;
>ALLTRIM(STR(lnfont_size)) + ;
>[ STYLE "] + lcfont_style+[" ] 
>
>public gcMenuF,gcMenuT
>gcMenuF = ".f. " + lcxxx
>gcMenuT = ".t. " + lcxxx
>
>WAIT WINDOW "test " + lcxxx
>
>this appears in menu tab as well
>
>test FONT 'Courier New", 14 style "BI"
>
>
>
>>>Hi tamar
>>>It's a popup menu item - I wanted to start one of the bar items with a symbol.
>>>yes it is old approach and I have upgraded many of the popups and converted to many of the different ones offered on this site - most commonly 'form'.
>>>but still find the old popup easiest to create and integrate.
>>>
>>>k
>>
>>Hi,
>>
>>Maybe the FAQ I found in Tek-Tips will be of some help to you?
>>
>>http://www.tek-tips.com/faqs.cfm?fid=6328
>>
>>Regards,
>>
>>Koen
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform