Alternating Lines in a listbox

Jim Lambert jiml at netrin.com
Tue Nov 28 20:02:10 EST 2006


Recently, Scott Kane wrote:

> I thought I'd ask if any solutions have been found to the
> alternating lines in a list box issue (the old "make it look like ITunes"
> dilemma).

Scott Rossi replied:
<With Rev 2.7 it's fairly easy.  Create an image that the two colors you
want
stacked one above the other, with the height of each "bar" equal to the
textheight of your list field.  Set the backPattern of your list field to
the ID of the image and you should be good to go.
Execute the following in your message box for an example:
  go url "http://www.tactilemedia.com/download/striped_list_field.rev">

This doesn't seem to work on win98. Only the 'top' color appears. Same stack
on OSX is fine.
Any ideas (besides updating to XP! ;) )

Jim Lambert





More information about the use-livecode mailing list