>>>? 'Part one' font 'arial',16 >>>??' Part two' font 'arial',16 style 'I' >>>>>>
>>> >>>? 'Part one' font 'arial',16 + ' Part two' style 'I' >>>Here... you may not like it, but it works. Create a little setfont.prg and keep it in your path:
LPARAMETERS lcName, lnSize, lcStyle *[2014/11/25 22:49] nDragan - the quick and dirty way to switch font in the middle of something. * dirty, as screen font properties aren't reset. IF !empty(lcName) _screen.FontName=lcName ENDIF IF !empty(lnSize) _screen.FontSize=lnSize ENDIF lcStyle=upper(evl(lcStyle, "")) _screen.FontBold="B"$lcstyle _screen.FontItalic="I"$lcStyle RETURN ""Then your command becomes
?setfont("Georgia",12, "")+"Part one", setfont("Tahoma",16, "I")+" Part two."