Bonsoir J�rome,

I had the sample problem in one of my app.
I used 2 different workarounds:
1. pad the line with enough space characters to make the line have the same width as the field
2. make the field transparent and display a colored rectangle behind each line


If your target is just to have white and blue lines alternatively, you can put a pattern in the background of the field. But there are some restrictions on the pattern size, like 16 or 32 pixels.

Hope it helps.

Thierry

On Sunday, Dec 19, 2004, at 21:17 Europe/Paris, 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
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] 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
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to