Why does Access not use Windows system colors ???

M

mscertified

I'm trying to create forms that use nothing but Windows system colors
(negative values). In a new database and a new form, I added a text box, a
label, a combo box, a listbox and a tab control, to see what default colors
were used. To my dismay, Access is not using the system colors at all. E.g.
For textbox backcolor I have 16777215 for label forecolor I have 0.
Why is this or am I missing something?
Is there any easy way to convert forms to use all Windows system colors?
I'm using Access 2003.
 
A

Arvin Meyer [MVP]

mscertified said:
I'm trying to create forms that use nothing but Windows system colors
(negative values). In a new database and a new form, I added a text box, a
label, a combo box, a listbox and a tab control, to see what default
colors
were used. To my dismay, Access is not using the system colors at all.
E.g.
For textbox backcolor I have 16777215 for label forecolor I have 0.
Why is this or am I missing something?
Is there any easy way to convert forms to use all Windows system colors?
I'm using Access 2003.

I'm not sure that these are current, but here is a list of Windows System
Colors that I have used in the past:

ColorID ColorDesc
----------- ----------------
-2147483648 Scroll bar
-2147483647 Desktop
-2147483646 Active window title bar
-2147483645 Inactive window title bar
-2147483644 Menu bar
-2147483643 Window
-2147483642 Window frame
-2147483641 Menu Text
-2147483640 Window Text (*)
-2147483639 Title bar text
-2147483638 Active window border
-2147483637 Inactive window border
-2147483636 Application background (**)
-2147483635 Highlight
-2147483634 Highlight Text
-2147483633 3-D face (***)
-2147483632 3-D shadow
-2147483631 Dimmed (disabled) text
-2147483630 Button Text
-2147483629 Inactive window title bar text
-2147483628 3-D highlight (****)
-2147483627 3-D dark shadow
-2147483626 3-D light
-2147483625 ToolTip Text
-2147483624 ToolTip background

* Use for text box forecolors (font color)
** Form detail backcolor
*** Disabled text box back color
**** Label text
 
M

mscertified

Thanks for response.
I already have that list but it does not answer my question. For instance
what is backcolor of a text box set to?

-Dorian
 

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