Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change font
Message
De
03/06/2014 02:44:53
Antonio Lopes (En ligne)
BookMARC
Coimbra, Portugal
 
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:
01601059
Message ID:
01601173
Vues:
76
This message has been marked as the solution to the initial question of the thread.
Did you ACTIVATEd the window in the process?
DEFINE WINDOW bm4b ;
FROM 24,76 TO 44,180;
FONT 'Arial Narrow ',7 ;
STYLE 'N' ; 
COLOR RGB (61,84,122,255,255,231)

ACTIVATE WINDOW bm4b

@ 0,0 SAY "This is in the font defined for the window"

@ 2,0 SAY "The same font, in bold" STYLE 'B'

@ 4,0 SAY "Now, with different font and style" FONT 'Times New Roman', 9 STYLE 'BI'
>>>>>i have a window open with font defined for the window- is it possible to have a portion of the text in that window appear in a different font?
>>>>>tnx
>>>>>k
>>>>>
>>>>>DEFINE WINDOW bm4b ;
>>>>>FROM 24,76 TO 44,180;
>>>>>FONT 'Arial Narrow ',7 ;
>>>>>STYLE 'N' ; 
>>>>>COLOR RGB (61,84,122,255,255,231)
>>>>>
>>>>
>>>>How are you putting the text into the window?
>>>>
>>>>Tamar
>>>
>>>old school:
>>>@12,5 say 'This is my text'
>>
>>The old school say command also has font clauses... don't remember the exact syntax, but try with the likely candidates... @xx,yy say "bla bla" font "Tahoma, 8, N" sounds about right.
>
>thanks dragan - good thought actually - however all I get is change out of windoe defined font into default VFP font - I guess backwards compatibility will only take you so far backwards. not to worry worth the try though.
----------------------------------
António Tavares Lopes
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform