Library tutorials & articles

Label Control

Setting the text colour

You can use the same syntax to set the Text Colour by setting the ForeColor property.

Label1.ForeColor = QBColor(Number)

The following code sets the text colour of Label1 to Grey.

Label1.BackColor = QBColor(8).

Comments

  1. 01 Jan 1999 at 00:00

    This thread is for discussions of Label Control.

Leave a comment

Sign in or Join us (it's free).