Re: Backgroundcolor of a line in a scrolling list

2013-01-09 Thread Peter Haworth
t the standard 2 you see the one pixel of > white at the left side (only if threeD is turned on) > > Kind regards > Bernd > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Backgroundcolor-of-a-line-in-a-scrolling-list-tp4658727

Re: Backgroundcolor of a line in a scrolling list

2013-01-08 Thread Peter Haworth
Yep, I wasn't looking forward to keeping track of real/junk lines! I haven't had a chance to try this yet but will later today. Another thought - is it possible there might be a way to do this using the htmlText of the field? Pete lcSQL Software On Tue, Jan 8, 2013 at 2:

Re: Backgroundcolor of a line in a scrolling list

2013-01-08 Thread Kay C Lan
On Tue, Jan 8, 2013 at 6:17 PM, BNig wrote: > If you set the margins of the scrolling list field to 0,8,0,8 Nice! Peter should be very happy with that. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsu

Re: Backgroundcolor of a line in a scrolling list

2013-01-08 Thread BNig
t and have a colored background. If you leave the borderwidth at the standard 2 you see the one pixel of white at the left side (only if threeD is turned on) Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Backgroundcolor-of-a-line-in-a-scrolling

Re: Backgroundcolor of a line in a scrolling list

2013-01-07 Thread Peter Haworth
Thanks Kay, I'll five that a whirl. Pete lcSQL Software On Mon, Jan 7, 2013 at 5:05 PM, Kay C Lan 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 > 'firstInden

Re: Backgroundcolor of a line in a scrolling list

2013-01-07 Thread Kay C Lan
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 ` charact

Re: Backgroundcolor of a line in a scrolling list

2013-01-07 Thread Peter Haworth
--- > From: Peter Haworth > To: How to use LiveCode > Sent: Mon, Jan 7, 2013 5:53 pm > Subject: Backgroundcolor of a line in a scrolling list > > > I have a need to set the background color of specific lines in a scrolling > list field. All works quite nicely except that c

Re: Backgroundcolor of a line in a scrolling list

2013-01-07 Thread Peter Haworth
ilitedLines of field "myListField" to "3,4,6,9" > > if that is what you mean > > Kind regards > Bernd > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Backgroundcolor-of-a-line-in-a-scrolli

Re: Backgroundcolor of a line in a scrolling list

2013-01-07 Thread dunbarx
Pete. Setting the margins to 0 is not an option? Craig -Original Message- From: Peter Haworth To: How to use LiveCode Sent: Mon, Jan 7, 2013 5:53 pm Subject: Backgroundcolor of a line in a scrolling list I have a need to set the background color of specific lines in a scrolling

Re: Backgroundcolor of a line in a scrolling list

2013-01-07 Thread BNig
t you mean Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Backgroundcolor-of-a-line-in-a-scrolling-list-tp4658727p4658731.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ u

Backgroundcolor of a line in a scrolling list

2013-01-07 Thread Peter Haworth
I have a need to set the background color of specific lines in a scrolling list field. All works quite nicely except that color does not quite extend to the edges of the scrolling list. I suspect that it stays within the margin settings of the field. It would be nice to have the color extend th