how do i compare two colors

S

Stefan

Hi,
I'm trying to find out how to check the backcolor of a button
see next lines of code(doesn't work):
if directcast(sender,control).backcolor = color.red then
.....'change color to green
else
.....'do nothing
end if
thanx
 

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