quarque
10-21-2005, 04:21 PM
What is the correct method for comparing the color of a control to the system colors. I have code that changes a Button's color on certain events and later on I want to read what the current color of the button is. I have tried using syntax like: if button.forecolor = xxxx then ...
(where xxxx is various color references). I have tried other operators beside "=". Everything gives me a syntax error when I try to put it in an IF...THEN statement.
(where xxxx is various color references). I have tried other operators beside "=". Everything gives me a syntax error when I try to put it in an IF...THEN statement.