Scrolling List selected lines

Peter Haworth pete at lcsql.com
Mon Feb 23 11:39:47 EST 2015


Thanks Kay, noticed that during testing.

On Mon, Feb 23, 2015, 7:36 AM Kay C Lan <lan.kc.macmail at gmail.com> wrote:

> 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.
> _______________________________________________
> 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