Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change font
Message
 
À
03/06/2014 02:44:53
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:
01601209
Vues:
45
thanks Antonia
I had activated the window
and had tried about 10 variations on what dragan had suggested but when I see yours, i realize I had missed it.
works great - many many thanks.

k

>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform