How to change the color of the text in a disabled button ?

dunbarx at aol.com dunbarx at aol.com
Tue Jun 7 09:37:39 EDT 2016


Why not use two b buttons. The colored text one would not be opaque, and have no border. Simply overlay the two with the colored one on top visible when the other is disabled.


Craig Newman



-----Original Message-----
From: Jacques Hausser <Jacques.Hausser at unil.ch>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Sent: Tue, Jun 7, 2016 5:39 am
Subject: Re: How to change the color of the text in a disabled button ?

I mean: A couple of images used as icons…

> Le 7 juin 2016 à 11:13, Jacques Hausser <Jacques.Hausser at unil.ch> a écrit :
> 
> Yes, a group of two images used as icons will do the trick. But it is rather boring to do that for a zillion of buttons… not counting the different resolution for different screens.
> 
>> Le 7 juin 2016 à 11:02, RM <richmondmathewson at gmail.com> a écrit :
>> 
>> That's all rather odd as the text in a button, regardless of what the textColor is set to goes grey
>> as soon as it is disabled.
>> 
>> If one groups the button and then disables the group the button text is also greyed out.
>> 
>> If one takes a snapshot of a button and then uses the resultant image as a button that, also, won't
>> do any good as one cannot DISABLE an image.
>> 
>> Richmond.
>> 
>> On 7.06.2016 11:47, Jacques Hausser wrote:
>>> I would like to, for aesthetic reasons. Is it possible (without going so far as writing a widget)? And, as we are there, what about the colors of a field’s scrollbar ? I’m not a fan of the Apple aesthetical dictatorship…
>>> 
>>> Jacques
>>> 
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ******************************************
> Prof. Jacques Hausser
> Department of Ecology and Evolution
> Biophore / Sorge
> University of Lausanne
> CH 1015 Lausanne
> please use my private address:
> 6 route de Burtigny
> CH-1269 Bassins
> tel: 	++ 41 22 366 19 40
> mobile:	++ 41 79 757 05 24
> E-Mail:	jacques.hausser at unil.ch
> *******************************************
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

******************************************
Prof. Jacques Hausser
Department of Ecology and Evolution
Biophore / Sorge
University of Lausanne
CH 1015 Lausanne
please use my private address:
6 route de Burtigny
CH-1269 Bassins
tel: 	++ 41 22 366 19 40
mobile:	++ 41 79 757 05 24
E-Mail:	jacques.hausser at unil.ch
*******************************************

_______________________________________________use-livecode mailing listuse-livecode at lists.runrev.comPlease visit this url to subscribe, unsubscribe and manage your subscription preferences:http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list