• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 238
  • Last Modified:

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.
0
peispud
Asked:
peispud
1 Solution
 
NightmanCTOCommented:
if YourControl.BackColor().Equals(Color.Red) then
'do something
else
'do somethingelse
endif
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now