vbRed, vbGreen, vbBlue, vbYellow and what others can be used??

Juanita
07-16-2002, 01:25 PM
Really dumb question, oh well :( -- what other basic (or any other) colors work with "vbxxxx"?

I've had success with vbRed, vbGreen, vbBlue, vbYellow

... But when I've tried vbBrown, vbOrange, vbPurple, vbPink - these do not work, did not try any others after that.

ChiefRedBull
07-16-2002, 01:28 PM
Press F2 - and look them up in the Object Browser.

Volte
07-16-2002, 01:29 PM
In the code window, type ColorConstants. (with the dot)
and a list should drop down. You can use the RGB function
to get any color:

RGB(255,0,128) gives a kind of pinkish color, for example.

Juanita
07-16-2002, 01:55 PM
ahh OK! Got it on both methods, never used before, but now I know what they are. Just tried them ... Thank You for pointing them out.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum