473,385 Members | 1,757 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Color Name vs. Color Number

I want to select different colors for the text in labels for controls
depending on the field being required or optional (to give the user an
easy visual cue).

Is there a list of color names and what the appropriate color number is?

Nov 12 '05 #1
3 2909
On Mon, 29 Dec 2003 18:27:45 -0500, Todd D. Levy
<us**************@spamex.com> wrote:
I want to select different colors for the text in labels for controls
depending on the field being required or optional (to give the user an
easy visual cue).

Is there a list of color names and what the appropriate color number is?

Look in help for Color Constants. Some are...
vbRed
vbGreen
vbMagenta
.... and so on.

- Jim
Nov 12 '05 #2
The easiest way to figure this out is to manually pick a color
(background color, forecolor, etc) for your control (textbox, combobox,
label, ...) in the design view of a form (or report) and then look at
the color number in the property sheet of the control you just colored.
You could pick a variety of colors (by right-clicking on the contorl in
the design view and picking a color from the context menu) to make up a
list of colors, or even experiment by changing the numbers in the
property sheet to get a color you like. A slightly more sophisticated
approach would be to use the RGB function (red/green/blue) - details how
to use it in the online help in Access.

Rich

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 12 '05 #3
Thank You everyone.
Nov 12 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: worldbadger | last post by:
Hello there, I have a subform that has anywhere from 20-500 ID numbers (unique) listed on it. Each ID is going to be linked to a picture. First off I set up a check for existance of the file;...
11
by: Ken Varn | last post by:
I want to be able to determine my current line, file, and function in my C# application. I know that C++ has the __LINE__, __FUNCTION__, and __FILE___ macros for getting this, but I cannot find a...
7
by: ~toki | last post by:
Having this: public class MyClass : UserControls { public int number=25; public MyClass { new TestClass(this); } }
5
by: carlpayne1984 | last post by:
Hi all, I'm fairly new to XML, however already I have studied myself stupid without being able to solve this problem. Basically, I have an XML file/Schema about a CD catalog that I've created that...
9
by: Alex | last post by:
Get the Name and Phone Number of the Current Windows User in a .NET Application I am writing a simple .NET (C#) application. It needs to "automatic" get the Name (last, first) and phone number...
3
by: bgreffet | last post by:
I was recently searching fruitlessly for a freinds' cell number using pay sites and every option I could think of with zero results when all of a sudden my phone rings and the caller i.d. shows her...
3
by: gavm360 | last post by:
Hello, I'm making a data entry form that i would like to have display the operators name. So far i have a preceeding "Login" form in which the operator inputs his/her employee number into a...
2
by: pythonnewb | last post by:
I am fairly new to programming but have some very basic Java background. I am just learning python and tried to make a module that would allow me to create a file containing an address book. I was...
1
by: santoshsri | last post by:
Hi All, My C# web application calls a webservice to process a report. It sends XMLs as parameter and in response gets an XML node which stores Binay datatype bin.base64. It makes an instance of...
0
by: rulrich | last post by:
If no entry is made in the shadeform for model number then I want to send via form mail the input name. in this example... Model Number 1: and then blank or perhaps NO Selection would print. If...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.