bgcolor of option button doesn't work on Mac

Bill Marriott wjm at wjm.org
Thu Mar 12 11:29:20 EDT 2009


It doesn't change the color because it's respecting Mac OS X user interface 
standards. If you want to tint the button, you can overlay a colored, 
disabled graphic with a blendLevel.

> Are you sure that you mean an option menu button? If I try to change 
> colours of an option menu button in Mac OS X 10.5.6, all I can change  is 
> the colour of the label. I don't think that one is supposed to  change the 
> colpour of native objects.
>
> You could try to use a pulldown menu button. If you set the threeD to 
> false and add colour to it, it is no longer native. You will need to  make 
> sure that the button is opaque to see the fillcolor.

>> Rev 3.0 setting the backgroundcolor of a option menu button works on 
>> Win,
>> but not on Mac. On Mac the background of the button keeps its  standard 
>> grey
>> and a kind of a border gets the wanted backgroundcolor.






More information about the use-livecode mailing list