Form color change

WhipStitch

New member
Local time
Today, 09:52
Joined
Jul 28, 2017
Messages
4
I am wanting to set up a function to where if a checked box is clicked the forum that it is connected to changes background color or has a color change to make it stand out.

I know it can be done, I am just hitting a block and need help.
 
You put code on the checkbox after update ever:

Private sub chkbox_afterupdate()

Me. Detail.back color=iif(chkbox, vbYellow, vbwhite)

End suB
 
Thank you both.

Is it possible to change the color back? Like a second click to turn the background back to white?
 
Last edited:

Users who are viewing this thread

Back
Top Bottom