Color Values Not Showing Properly

  • Thread starter CrazyAccessProgrammer
  • Start date
C

CrazyAccessProgrammer

Select any control on a form and select its backcolor property. Then click
.... (tripple dot button) to view the color panel. Then click on More Colors
and finally select the Cutom tab. Notice that the Red, Green, and Blue values
depict the value of the control's backcolor.

Now do the exact same thing but this time for the control's forecolor. The
Red, Green, and Blue values will always show 255, 0, 0 respectivley,
regardless of what the actual forecolor for the control really is.

Is this a bug or known issue?

The reason why I bring this up is because I programmatically set the
forecolor of forms based on user preferences and oftentimes refer to the Red,
Green, and Blue values while designing a form to obtain what the values are.
This issue complicates finding out the Red, Green, & Blue values I want.
 
D

Dale Fye

Crazy,

I'm using A2007, and cannot duplicate this performance.

Although when I first go to the color dialog box, it does appear that the
255,0,0 is the default on the standard tab, I can select any of the other
colors on the "standard" tab, and when I go to the Custom tab, the RGB #s
reflect the color that I have selected. Then, if I drag the crosshairs
around in the custom colors or slide the intensity slider up and down, it
changes the values of the RGB at the bottom of the page.
 
C

CrazyAccessProgrammer

What I try to do is find out what the RGB colors are for a control after
having selected one of the pre-defined colors such as 'Text Dark' or 'Access
Theme 1.'

When working with the forecolor property, no matter what pre-defined access
color I choose, when I look into the property to obtain the RGB values, the
RGB colors show incorrectly as 255,0,0.

Not so doing the exact same thing with the backcolor property. Select a
pre-defined color such as 'Text Dark' then look into the property to get the
RGB values and they will be correct (in the case of 'Text Dark' the RGB
values correctly show 32, 77, & 137)
 
D

Dale Fye

Understand what you are talking about now. I get exactly the same result
working in 2007. What version are you using?

--
Dale

email address is invalid
Please reply to newsgroup only.
 
D

Dale Fye

I've got Access XP, 2003, and 2007 on my home computer, and only found this
problem in 2007, although I don't have the latest hot-fixes installed to my
2007. I'll post a note to the Access Teams blog site.

Dale
 
C

CrazyAccessProgrammer

Thanks so much for all the help.

Dale Fye said:
I've got Access XP, 2003, and 2007 on my home computer, and only found this
problem in 2007, although I don't have the latest hot-fixes installed to my
2007. I'll post a note to the Access Teams blog site.

Dale
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top