Toggle Button Selection

G

Guest

Can a Toggle Button change color based on selection. I have a toggle button
which is defaulted to "Yes". However the Depressed Button View is not
obvious enough for some users. (I offered to buy them glasses...no takers).

I there a way to change the button color when it is selected?
 
A

Arvin Meyer

Stephen said:
Can a Toggle Button change color based on selection. I have a toggle button
which is defaulted to "Yes". However the Depressed Button View is not
obvious enough for some users. (I offered to buy them glasses...no takers).

I there a way to change the button color when it is selected?

Use the click event for something like:

If Me.ToggleButtonName.ForeColor = vbRed Then
Me.ToggleButtonName.ForeColor = vbBlue
Else
Me.ToggleButtonName.ForeColor = vbRed
End If
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access Downloads
http://www.datastrat.com
http://www.mvps.org/access
 
G

Guest

That changes the words, which is nice, but can I change the background (The
button color itself?)
 

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