Page 1 of 1

alternating row colors

Posted: Wed Oct 29, 2008 4:37 pm
by billworld
Is it possible with table or list controls to set the row color to alternate between two colors in row repetitions?

Posted: Wed Oct 29, 2008 4:55 pm
by Jerry Daniels
Short answer: yes

Slightly longer answer: yes, see backgroundpattern.

How to do it:

Set the backgroundpattern of the field to the id of an image that is the height of two rows in your list and that, when set, makes your rows have alternating colors.

Posted: Wed Oct 29, 2008 5:05 pm
by Mark
Hi Bill,

There was a lot of discussion about this subject on the Use List recently. Click here.

Best,

Mark

Posted: Wed Oct 29, 2008 5:10 pm
by bangkok
Mark wrote: There was a lot of discussion about this subject on the Use List recently. Click here.
k
And here with a few "alternative" ways (HTML, fields on the background with blend colors etc.).

http://forums.runrev.com/phpBB2/viewtopic.php?t=1461

Posted: Wed Oct 29, 2008 6:59 pm
by billworld
Thanks all. Looks like there's a few different ways to accomplish this. I'll start researching them to get a sense of the pros/cons from a setup and maintenance standpoint.

Wish it was built-in, though. One of the reasons I'm researching RR is to migrate away from FileMaker Pro for an app I'm developing due to all the kludgy workarounds that would be required in FMP to meet my needs (the main problems there are UI issues, no real events/objects model and heavy reliance on loads of 3rd party plug-ins).

Anyway, with the issue of alternating row colors FMP appears to have RR beat hands down.

Maybe RR could be enhanced in this regard?

Thanks again for the pointers. Much appreciated.

Posted: Wed Oct 29, 2008 7:10 pm
by keyless
Does anyone know which method was used in the Rev 2.8.1 documentation stack for the dictionary and glossery?