iTunes-type alternate colored lines in scrolling list field

thinkertoys thinkertoys at cyburb.com
Wed Mar 5 23:19:01 EST 2003


Here's a solution to create a field w/ alternating colored lines that 
scroll.

To get a demo stack just type the following into the message box:
go stack URL "http://www.cyburb.com/rev/alternating.rev"

The trick is to use a transparent scrolling fld on top of another field 
where it's htmlText is used to display two graphics that create the 
alternating lines.  Then just change the scroll of both at the same time 
via scrollBarDrag.  Make sure the graphics are sized to exactly match the 
textHeight of the top fld & set the margins for the bottom fld to 0.

Eric
Thinker Toys



More information about the use-livecode mailing list