Can A Tickbox Backcolor Change & If So How Would It Be Done??

B

Bateman28

Hi

Does anyone know how to change the back color of a tickbox?

I have a dropdown box (Listbox) that when a specific option is selected a
number of different fields change colour so that the users have a helping
hand in ensuring they enter details into the required fields. I have a
tickbox that is needed to be ticked when a specific option is selected from
the same dropdown listbox so i would like the same process for the tickbox
where it changes colour.

Cheers
 
J

Jon Lewis

You can't change the back colour of a tick box but why don't you just code
the listbox after update event to set the tick box to True when the user
selects the specific list box option and False if the specific option is
deselected ?

Alternatively give the tick box a label and change the label's back colour.

HTH
Jon
 
T

Tom van Stiphout

On Fri, 9 Apr 2010 13:24:50 +0100, "Jon Lewis"

Well, not something I would do myself, but if you REALLY wanted this,
and this is the LAST problem to solve in your otherwise perfect
application (e.g. it has enforced referential integrity, required
fields where needed, proper error handling, uses option explicit, just
to name a few), you could certainly have two images, one checked, and
one unchecked, with the color of your choice, stacked on top of each
other, and write the code to hide the one and show the other on a
mouse click or other event.

-Tom.
Microsoft Access MVP
 

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