Custom Colors Not Saved

  • Thread starter Thread starter JamesJ
  • Start date Start date
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
 
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..)
 
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 :)
 
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
 
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 :)
 
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.
 

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

Back
Top