Blitz (181/218)

From:Nick Clover
Date:28 Aug 2001 at 09:29:26
Subject:Re: Windows and fonts and stuff like that.

Hello Gill

On 28-Aug-01, you wrote:

> When Window 0 is active, *rp\Font\tf_XSize is 11 (which is correct)
> When Window 1 is active, *rp\Font\tf_XSize is 8 (which aint!)

> Anybody got any ideas why this should be so?

Have you specifically told window 1 to use the same font as window 0?

eg. windowfont 0, just after the window is opened. Using 'Use IntuiFont 0'
won't work with all windows...

or use

*rp.RastPort = RastPort (0)

but It seems to me to be a waste of time creating a function for a 1 line
command. Just do it directly with:

rp.l=RastPort(0);just after you open window 0

result.l=TextLength_(rp,&text$,Peek.l(&text$)-4)

Regards






Nick Clover



A4000/060, 64Mb, PicassoIV, Paloma, KTX 17" Monitor, Punchinello II

IDE: 10.1 & 13.8 Gb HD, SCSI: Fujitsu 18Gb HD, Sony CDU625-S CD

2x Sony CDD2600 CDR, Aiwa ACD300, Ricoh 8x8x32 CDrw

Brother HL1250 Laser, HP890c Inkjet, Generic V90 Modem, Trust Ergo Keyboard


---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie