Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
Visual Basic Forum for Visual Basic Programmers VB Forum Index » Knowledge Base

Post new topic   Reply to topic
Extended Color Constants
View previous topic :: View next topic  
Author Message
Avis
Junior Poster


Joined: 07 Oct 2003
Posts: 510
Location: India

PostPosted: Aug 2nd, 2004 07:05 AM    Post subject: Extended Color Constants Reply with quote

Get some extended color constants. Stuff like vbWhite, vbBlue are great, but even better is vbDarkGreen, vbPaleBlue etc...

[vb:1:730751b95c]Public Enum exColorTypes
'vbWhite = &HFFFFFF
vbLightGray = &HE0E0E0
vbGray = &HC0C0C0
vbMediumGray = &H808080
vbDarkGray = &H404040
'vbBlack = &H0
vbPaleRed = &HC0C0FF
vbLightRed = &H8080FF
'vbRed = &HFF
vbMediumRed = &HC0&
vbDarkRed = &H80&
vbBlackRed = &H40&
vbPaleOrange = &HC0E0FF
vbLightOrange = &H80C0FF
vbOrange = &H80FF&
vbMediumOrange = &H40C0&
vbDarkOrange = &H4080&
vbBlackOrange = &H404080
vbPaleYellow = &HC0FFFF
vbLightYellow = &H80FFFF
'vbYellow = &HFFFF
vbMediumYellow = &HC0C0&
vbDarkYellow = &H8080&
vbBlackYellow = &H4040&
vbPaleGreen = &HC0FFC0
vbLightGreen = &H80FF80
'vbGreen = &HFF00
vbMediumGreen = &HC000&
vbDarkGreen = &H8000&
vbBlackGreen = &H4000&
vbPaleCyan = &HFFFFC0
vbLightCyan = &HFFFF80
'vbCyan = &HFFFF00
vbMediumCyan = &HC0C000
vbDarkCyan = &H808000
vbBlackCyan = &H404000
vbPaleBlue = &HFFC0C0
vbLightBlue = &HFF8080
'vbBlue = &HFF0000
vbMediumBlue = &HC00000
vbDarkBlue = &H800000
vbBlackBlue = &H400000
vbPalePurple = &HFFC0FF
vbLightPurple = &HFF80FF
vbPurple = &HFF00FF
'vbMagenta = &HFF00FF
vbMediumPurple = &HC000C0
vbDarkPurple = &H800080
vbBlackPurple = &H400040
End Enum[/vb:1:730751b95c]
_________________
Code Snippets, Tutorials, Utilities, Controls

Low cost Web Hosting
Hosting starts at as low as $4 per year!


Always follow posting guidelines
Put your VB code in [vb ] your code [ /vb] tags!
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger ICQ Number
Display posts from previous:   
Post new topic   Reply to topic    Visual Basic Forum for Visual Basic Programmers VB Forum Index » Knowledge Base All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Visual Basic Forum runs phpBB | Forum Template © iOptional
VB Resources | SSL | Visual Basic