Rated
Read 23,298 times
Contents
Related Categories
Label Control - 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).
James first started writing tutorials on Visual Basic in 1999 whilst starting this website (then known as VB Web). Since then, the site has grown rapidly, and James has written numerous tutorials, articles and reviews on VB, PHP, ASP and C#. In October 2003, James formed the company Developer Fusion Ltd, which owns this website, and also offers various development services. In his spare time, he's a 3rd year undergraduate studying Computer Science in the UK. He's also a Visual Basic MVP.
Comments
|