![]() |
Forum Index : Microcontroller and PC projects : Micromite v5.1 LCD Background colour
Author | Message | ||||
rogersan Regular Member ![]() Joined: 10/04/2015 Location: AustraliaPosts: 79 |
I have bee trying out the TEXT command with the drawing colour=RGB(white), and with the background colour=RGB(red). The background colour only extends as far as the text, leaving black space at the end of the text. I would like the red background to cover the black areas. I tried COLOUR RGB(white),RGB(red) to set the background to red but it made no difference. Does anyone know how to force the background all to red? |
||||
rogersan Regular Member ![]() Joined: 10/04/2015 Location: AustraliaPosts: 79 |
You can force the black area at the end of a line of text to be the same background colour as the text, by adding space characters at the end of the line. The colour command does not force the whole background to a colour, so areas not used on the screen are left black. |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
Use the BOX command to draw the area that you want in the colour you want then print the TEXT over the top. That way you can colour the whole background or just a part of it. Jim VK7JH MMedit |
||||
palcal![]() Guru ![]() Joined: 12/10/2011 Location: AustraliaPosts: 1993 |
Use the command CLS RGB(red) Paul. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |