Custom Colors Not Saved

J

JamesJ

When I Define Custom Colors from the Color palette the color(s)
and Add the color to the Custom color palette the color(s) only
get saved for that session. Although the object retains
the color the color I defined is gone from the Custom color palette.

Any help will be appreciated,
James
 
A

Al Camp

James,
I think all of us have experienced this, and a quick search through the Access groups
doesn't appear to offer a workable solution. Try that yourself just to be sure...

One thing you might do is create an empty "template" form, (with preset Title info in
the header, DOC and DOLE fields, Exit button, and any items you might normally include in
your forms.)
Whenever I create a new form I start with this template form, customize it, and save it
as a new name.

Now, on that form you could include several "hidden" label controls, and assign them
each a custom color that you want to work with... kind of like a "mini-palette" right on
the form. You could then use the FormatPainter to copy those color attributes to any new
control/s you place on that form.
You could also set one of the mini-colors as the default, and palce several fields in
succession

Not awfully elegant, but might be a workaround, and of course be aware that the
FormatPainter also copies "all" the attributes from your mini-pallete color field (font,
alignment, etc..)
 
T

tina

hey, that's a handy idea, Al. i think i'll put that to use in my forms;
it'll also be handy to have those color codes available to reference from
VBA. thx, tina :)
 
J

JamesJ

Sounds intriguing. I'll give it a shot. I like using the same color(s)
in my forms It sounds better than copying the color number.

Thanks,
James
 
A

Al Camp

Good deal Tina...
Al Camp

tina said:
hey, that's a handy idea, Al. i think i'll put that to use in my forms;
it'll also be handy to have those color codes available to reference from
VBA. thx, tina :)
 
V

Van T. Dinh

Once, I decide on a set of colours used for the application, I create the
symbolic constants for each colour used in a VBA (declaration) module. This
way, I can simply copy the colour numbers from the constants or I can use
code to assign colours and I know the colours are exactly what I want.
 
Top