First published on MSDN on Mar 12, 2016
Figure: The available TextWindow colors
Authored by Ed Price
In Small Basic, you can change the background and foreground colors of the text window's output text using the BackgroundColor and ForegroundColor properties of TextWindow .
You specify the desired color by number or by name. The permissible values are shown here:
Figure: The available TextWindow colors
For example, to output your text in yellow, you can use the word "Yellow" or the number 14:
TextWindow.ForegroundColor = "Yellow" ' Uses color name
TextWindow.ForegroundColor = 14 ' Uses color number
Have a Small and Basic week!
- Ninja Ed & Majed Marji
See Also
Published Feb 13, 2019
Version 1.0Ed Price
Former Employee
Joined February 09, 2017
Small Basic Blog
Follow this blog board to get notified when there's new activity