I mean colour is spelt wrong, but this should work?
Code: Select all
GRAPHICBOX #g.1, 1,1, 200, 200
OPEN "WINDOW" FOR WINDOW AS #g
#g.1, "BACKCOLOR RED"
END
Code: Select all
GRAPHICBOX #g.1, 1,1, 200, 200
OPEN "WINDOW" FOR WINDOW AS #g
#g.1, "BACKCOLOR RED"
END
No. I would again refer you to the LB Help manual: 'print #handle, "backcolor COLOR": This command sets the color used when drawn figures are filled with a color'. The command doesn't do any drawing itself, as you seem to expect, it sets the fill colour of a subsequently drawn figure.
Code: Select all
GRAPHICBOX #g.1, 1,1, 200, 200
OPEN "WINDOW" FOR WINDOW AS #g
#g.1, "BACKCOLOR RED"
#g.1, "DOWN; BOXFILLED 200 200"
WAIT