I'm confused by the Pen.style command.
Example Code. (NB. GLCD Inits fine).
Code: Select all
for i=0 to 63 // Fill the GLCD screen
glcd.line(0,i,127,I)
next
GLCD.SetFont(ErasDemiITC14) // Set a font
pen.style=fsinvert // Set pen to Invert
GLCD.WriteAt(5,3,"HELLO") // Write first HELLO
SetFont(Arial18) // Set to Font Arial
//font.Style=fsInvert // Set it to inverse again.. it works. Eh?
glcd.writeat(20,30,"HELLO") // Write Second HELLO
while true
wend
and if I un-comment the line
Code: Select all
font.Style=fsInvert // Set it to inverse again.. it works. Eh?
Surely my first "HELLO" should come out like the second "HELLO" shown above.
for the first font.style, the value can be anything and it stays the same.
It's as though it gets ignored.
Have I put it in the wrong place?
I'd be very grateful if someone cn put me straight, there's nothing in help, examples or, as far as i can find, on the Forum.
Thanks.
PS. Please excuse wobbly images, hand held long exposure.