Backgroundcolor of a line in a scrolling list

Peter Haworth pete at lcsql.com
Mon Jan 7 20:13:52 EST 2013


Thanks Kay, I'll five that a whirl.
Pete
lcSQL Software <http://www.lcsql.com>


On Mon, Jan 7, 2013 at 5:05 PM, Kay C Lan <lan.kc.macmail at gmail.com> wrote:

> Pete,
>
> How far are you prepared to kludge this?
>
> Set the margin for the field to 0
> Under Basic Properties unclick 'fixedLineHeight' and set the
> 'firstIndent' to 4 (or something you like).
>
> Now the part that gets ugly:
>
> For the content of your field insert in the line before your content a
> ` character - the character to the left of 1 on a qwerty keyboard. And
> add and extra line at the end of your content that is just a period -
> .
>
> You now need to set the text size of the first and last line to 4 or
> thereabouts. Unfortunately highlighting the character in question and
> selecting Size -> Other... from the Text Menu on my OS X 10.8.2
> running LC 5.5.3 doesn't do anything, so I select 8 point size
> instead. Then in the Message box I:
>
> put the htmlText of fld "Kludge" into tStore
> replace "8" with "6" in tStore
> set the htmlText of fld "Kludge" to tStore
>
> On my set up, setting the background color of a line misses one pixel
> on the left, but goes all the way to the right. I can not see or
> select the first and last lines. It is very close to resembling a
> highlighted line.
>
> All you'll need to worry about is keeping track of what is real
> content and what is dummy padding.
>
> HTH
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list