|
-
May 22nd, 2000, 11:41 PM
#1
Can you use Hex color code in VB
-
May 22nd, 2000, 11:48 PM
#2
Fanatic Member
Give this a whirl
Yep, you can indeedy.
Just use &H?, where ? is the hex digit.
Iain, thats with an i by the way!
-
May 23rd, 2000, 12:51 AM
#3
Fanatic Member
-
May 23rd, 2000, 01:27 AM
#4
Hyperactive Member
I use the code from the properties window - select your color (or custom color), copy the code, and declare a constant of the color name equal to the color code.
Then, if you want something to be LightYellow, just say CommandButton1.backcolor=LightYellow.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|