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