How to determine the color of a control.

Hi.

I have a button control.   How can I test to see if it's color is red.

I've looked around but obvioulsy not using the right search criteria.

Thank you.
peispudAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
NightmanConnect With a Mentor CTOCommented:
if YourControl.BackColor().Equals(Color.Red) then
'do something
else
'do somethingelse
endif
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.