Scrolling List selected lines

Kay C Lan lan.kc.macmail at gmail.com
Mon Feb 23 10:36:37 EST 2015


On Mon, Feb 23, 2015 at 3:11 AM, Peter Haworth <pete at lcsql.com> wrote:

> The purpose is to remember the selectedLines before the most recent click.
>

Just in case you ever need this for scrolling lists fields that allow non
continguous selections, the selectedLines will not give the correct answer,
only the first line, i.e. if lines 5, 7 and 9 are hilited then only 'line 5
of fld "Scroller"' is the result. If you use 'the hilitedLines' you'll get
'5,7,9' as the result.



More information about the use-livecode mailing list