Access>Form>Toggle Button>Color

G

Guest

I have an access data base I created that is really more like an electronic
sign in and sign out board. I have a toggle button that is used to clik in
an out. The in button stays down when pressed and pops up when the out
button is pressed. Is there a way to make the toggle button itself a
different color. I want the in button to be green and the out to be red. I
would even like it if it would change to the respective color when pressed.
Any ideas?

Thank you

Radski
 
D

Duncan Bachen

Radski said:
I have an access data base I created that is really more like an electronic
sign in and sign out board. I have a toggle button that is used to clik in
an out. The in button stays down when pressed and pops up when the out
button is pressed. Is there a way to make the toggle button itself a
different color. I want the in button to be green and the out to be red. I
would even like it if it would change to the respective color when pressed.
Any ideas?

Thank you

Radski

You can't change the color of the command button itself, so you'd have
to create your own pseudo-command button using labels.

The label also has a click event like the command button does. In this
case, your click event would handle tracking whether the person was
currently in/out and then changing it's own text and background color.

So if they were In, clicking it would make them Out, change the label to
out, and make the background color be red. If they are out, the exact
opposite.
 

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