The Color Of Disabled Button Labels

Devin Asay devin_asay at byu.edu
Wed May 24 15:06:37 EDT 2006


On May 24, 2006, at 11:40 AM, Dave Cragg wrote:

>
> On 24 May 2006, at 18:11, Rob Cozens wrote:
>
>> Hi All,
>>
>> I'm trying to get a button to display white text on a grey  
>> background when the button is disabled.
>>
>> It appears that the text of a disabled button is always the same  
>> color, regardless of its textColor property.
>>
>> Where can I set the textColor for disabled buttons?
>
> Is this on Windows, and with a rectangle button?
>
> Try setting the bottomColor to white and the topColor to the  
> background color of the button. But it seems to have no effect on  
> Mac OS X.

On OS X if you're using the Standard or Default button style none of  
the color settings has any effect, because Rev just uses the look and  
feel supplied by the os. If you want to have buttons with colors you  
set you have to use one of the other styles.

Devin


Devin Asay
Humanities Technology and Research Support Center
Brigham Young University




More information about the use-livecode mailing list