How to use backgroundColor
James Cass
cassj at earthlink.net
Sun Dec 19 17:01:05 EST 2004
Jérôme -
Okay. I see what you're trying to do. I've tried various things, but
I don't see how to do it either. I'm not one of the Revolution Black
Belts though. I'm still working on my green belt. :-) Maybe one of
the Masters can chime in.
-James
On Dec 19, 2004, at 3:17 PM, Jérôme Rosat wrote:
> James,
>
> What I'm trying to do is:
>
> - line 1 of my list field: background color white
> - line 2 of my list field: background color light blue
> - line 3 of my list field: background color white
> - line 4 of my list field: background color light blue
> - etc.
>
> like a selected line. But the "backgroundcolor of line" property
> don't change the color of the entire line, only the background of the
> text.
>
> The foregroundcolor property "specifies the color of object text" not
> the background.
>
> Jérôme
>
>
> Le 19 déc. 04, à 20:55, James Cass a écrit :
>
>> Jérôme -
>>
>> I'm not exactly sure what you're trying to do, but have you tried
>> using foregroundcolor instead of backgroundcolor?
>>
>> HTH....James
>>
>>
>> On Dec 19, 2004, at 11:55 AM, Jérôme Rosat wrote:
>>
>>> Bonjour à tous,
>>>
>>> I try to change the background color of pair lines in a list field.
>>>
>>> This is my code:
>>>
>>> if vLigne/2 = trunc(vLigne/2) then set the backgroundColor of line
>>> vLigne of field "fListeIcones" to "lightblue"
>>>
>>> But only the background color of the text in the line change in
>>> light blue. Not all the line (for example the background color
>>> don't change under tab) and not in all the hight of the line.
>>>
>>> How to change the background color of an entire line in a list
>>> field ?
>>>
>>> Thanks for your answers.
>>>
>>> Jérôme Rosat
>>> _______________________________________________
>>> use-revolution mailing list
>>> use-revolution at lists.runrev.com
>>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>>
>>
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>>
> Jérôme Rosat
> 13, chemin des Palettes
> 1212 Grand-Lancy
>
> 022 880 20 70
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list