DG: alternateRowColor

Richard Gaskin ambassador at fourthworld.com
Tue Jan 12 13:01:46 EST 2010

Trevor DeVore wrote:

> On Jan 12, 2010, at 12:19 PM, Richard Gaskin wrote:
>> I need to set the background and alternate row colors in my DG to
>> custom values, but when I edit the props for those I get the
>> background color applied only to the alternate rows with the
>> alternate row color showing correctly within its bounds, while the
>> background of all odd-numbered rows shows white.
> Hi Richard,
> Background color is different then the row color. Try this:
> set the dgProps["row color"] of group 1 to "red"
> set the dgProps["alternate row color"] of group 1 to "green"
> You should have alternating red/green lines.

Ah yes! I see rowColor right there in my property sheet, but overlooked 
it before.

Perfect - thanks!

  Richard Gaskin
  Fourth World
  Rev training and consulting: http://www.fourthworld.com
  Webzine for Rev developers: http://www.revjournal.com
  revJournal blog: http://revjournal.com/blog.irv

More information about the Use-livecode mailing list