Library tutorials & articles
Label Control
By James Crowley, published on 14 Jul 2001
Page 5 of 5
- Introduction
- Properties and Events
- Setting the text
- Setting the background colour
- Setting the text colour
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).
Related articles
Related discussion
-
Key_Press() event for text box
by Aquila (1 replies)
-
Regarding Visual Basic Programme
by manjunathsl2007 (0 replies)
-
how do you hide all in VB6
by CapnJack (1 replies)
-
Problem with Input File
by novavb6 (3 replies)
-
How to produce a txt file with a table??
by novavb6 (1 replies)
This thread is for discussions of Label Control.