Again, you will normally set the text colour at design time, but if you want to set it at runtime, you can use the same syntax to set the Text Colour by setting the ForeColor property.
Text1.ForeColor = QBColor(Number)
The following code sets the text colour of Text1 to Blue.
Text.BackColor = QBColor(1)
Comments