Table field

Peter Haworth pete at lcsql.com
Wed Jun 27 15:26:38 EDT 2012


Hi Bjornke,
With lots of help from various people, I succeeded in creating a graphic as
you described.  However, when I set the background pattern of my table to
the id of the graphic, I just get a solid grey color as the background of
the whole table, no alternating row colors no matter what colors I put in
the graphic.

Any ideas?

Pete
lcSQL Software <http://www.lcsql.com>



On Sat, Jun 23, 2012 at 6:28 AM, Björnke von Gierke <bvg at mac.com> wrote:

> To cook yourself the perfect scrolling field, you need:
>
> A graphic:
> 32 pixels high
> at least 1 pixel wide (or more for easier handling, width doesn't matter)
> upper 16 pixels white
> lower half very light blue or very light grey
>
> Also a list type field (dontwrap= true) with:
> textHeight = 16
> fixedLineHeight = True
> margins (on the "text formatting" part of the inspector): 8,4,8,8
> set the backgroundPatter of this field to the image.
>
>
> Result:
> Perfect scrolling list of entries, where the background colors scroll
> along with the text.
>



More information about the Use-livecode mailing list