Change disabled button text color
Posted: Fri Apr 24, 2009 10:51 am
Hi there,
I have a button labeled "A". When pressed its label changes to "B" and the button is disabled for one second. After that second, the button resets (i.e., becomes enabled again and is labeled "A"). Basically, I want users to see the label change in that one second, but I know that users will be trying to click as fast as possible on the button to get to the next phase. I have tried to get around this by disabling the button for the one second, so that they cannot click in that time. This method sort of works, but the disabled button label text fades to a grey, which is bad.
Can anyone think of a way of changing the disabled button color to black? Or any other way of achieving what I want (stopping users from clicking really fast and hence not noticing the label change).
Cheers,
Adrian
I have a button labeled "A". When pressed its label changes to "B" and the button is disabled for one second. After that second, the button resets (i.e., becomes enabled again and is labeled "A"). Basically, I want users to see the label change in that one second, but I know that users will be trying to click as fast as possible on the button to get to the next phase. I have tried to get around this by disabling the button for the one second, so that they cannot click in that time. This method sort of works, but the disabled button label text fades to a grey, which is bad.
Can anyone think of a way of changing the disabled button color to black? Or any other way of achieving what I want (stopping users from clicking really fast and hence not noticing the label change).
Cheers,
Adrian