Share via

Access Button Changes color when another button is pressed

Anonymous
2018-01-16T19:01:07+00:00

I have 3 dial buttons (Green)  (for three different numbers) and one End Call button that hangs up on calls made by any of the three dial buttons (It just sends a hangup command to skype so it doesn't matter which button initiate the call it just closes skype)

I would like the end call Button to become a much darker red when I press ANY of the three green dial buttons and revert to a pale red after it has been clicked (I don't nee to check the call was really placed or ended just click the Green Button the Red one goes Darker, then click the Red button and it reverts to pale

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Tom van Stiphout 40,211 Reputation points MVP Volunteer Moderator
2018-01-16T20:27:54+00:00

I think that would be a one-liner in the button's click event:

(in a green button's Click event):

Me.myRedButton.BackColor = "some dark red color"

(in the red button's Click event):

Me.myRedButton.BackColor = "some pale red color"

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful