overiding windows pallet

  • Thread starter Thread starter allenr41
  • Start date Start date
A

allenr41

How can I over ride an individuals color settings for
windows menu bars, command buttons, and tabcntrl objects
in an access form.
Some users on my network have chosen some hideously dark
colors which cause the forms text to be difficult to read
on the command buttons, etc.
I know the text color can be changed, as well as the form
background, and some boxes, etc. But how do I overide the
windows system colors for comman buttons, tabcntrl, etc.?

Thanks in advance

allenr
 
allenr41 said:
How can I over ride an individuals color settings for
windows menu bars, command buttons, and tabcntrl objects
in an access form.
Some users on my network have chosen some hideously dark
colors which cause the forms text to be difficult to read
on the command buttons, etc.
I know the text color can be changed, as well as the form
background, and some boxes, etc. But how do I overide the
windows system colors for comman buttons, tabcntrl, etc.?


Regardless of how ridiculous the colors are, I wouldn't go
around changing anyone's system settings. That would be
cause for lynching a programmer or at least deleting the
program from the system.

The first thing you should do is make your application
adhere to the window system colors so it uses whatever a
user's settings are. Unless you've also gone bonkers with
your program's colors, this is fairly easy (but tedious) to
do by using the system color code numbers instead of
selecting your colors from a palette. These are the
negative color values you may have noticed as the default
background color of a form. You can find a list of these
system color codes in Help, in AXP it's under "ColorScheme"
in the Index.
 
sheesh, perhaps ya didnt hear me or understand....the
colors of MY application ARE conforming to the windows
pallet, BUT mine are simply easy to read neutrals and
greys....some users have their windows settings
ridiculous with pinks, dark blues, etc.... thats what i
want to over ride!!! So basically what i want to do is
save my choices as a custom pallet and have access refer
to that pallet on startup!!
 
If your app is using the system color codes, then the user
will see your app the way they decided they want to see
things on **their** systems. It's not up to you to decide
how **their** systems should look, even when running your
program.

To answer your question, No, (unless there's something
tricky with APIs) you can not save the system pallet on your
machine and tell Access to use it on other machines.
 
Back
Top