Re: Scrolling List selected lines

2015-02-23 Thread Peter Haworth
Thanks Kay, noticed that during testing. On Mon, Feb 23, 2015, 7:36 AM Kay C Lan wrote: > On Mon, Feb 23, 2015 at 3:11 AM, Peter Haworth wrote: > > > The purpose is to remember the selectedLines before the most recent > click. > > > > Just in case you ever need this for scrolling lists fields t

Re: Scrolling List selected lines

2015-02-23 Thread Kay C Lan
On Mon, Feb 23, 2015 at 3:11 AM, Peter Haworth 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 firs

Re: Scrolling List selected lines

2015-02-22 Thread Peter Haworth
J. Landman Gay > To: How to use LiveCode > Sent: Sun, Feb 22, 2015 3:36 pm > Subject: Re: Scrolling List selected lines > > > On 2/22/2015 2:19 PM, Peter Haworth wrote: > > Nice idea but alas, no joy with before mouseDown. I think the OS must do > > the highlighting

Re: Scrolling List selected lines

2015-02-22 Thread Peter Haworth
I like that idea! On Sun, Feb 22, 2015, 3:51 PM Martin Koob wrote: > Too bad selectionChanged does not work for fields like it does for DataGrid > where it gives previously highlighted index as a parameter. That could be > a > feature request. > > selectionChanged > - selectionChanged pHilitedI

Re: Scrolling List selected lines

2015-02-22 Thread dunbarx
When does the "messageMessage" come into play? Craig -Original Message- From: J. Landman Gay To: How to use LiveCode Sent: Sun, Feb 22, 2015 3:36 pm Subject: Re: Scrolling List selected lines On 2/22/2015 2:19 PM, Peter Haworth wrote: > Nice idea but alas, no jo

Re: Scrolling List selected lines

2015-02-22 Thread Martin Koob
Too bad selectionChanged does not work for fields like it does for DataGrid where it gives previously highlighted index as a parameter. That could be a feature request. selectionChanged - selectionChanged pHilitedIndexes, pPreviouslyHilitedIndexes You could use a DataGrid to get the previously h

Re: Scrolling List selected lines

2015-02-22 Thread Martin Koob
Another way would be to use mouseEnter to get the SelectedLines value before the mouse click but you would still have to put it in the script local so probably no advantage. Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Scrolling-List-selected-lines-tp4

Re: Scrolling List selected lines

2015-02-22 Thread J. Landman Gay
On 2/22/2015 2:19 PM, Peter Haworth wrote: Nice idea but alas, no joy with before mouseDown. I think the OS must do the highlighting even before LC gets into the loop. That's too bad, I had high hopes. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software

Re: Scrolling List selected lines

2015-02-22 Thread Peter Haworth
in a > custom property. In other words, lock away that information really early, > instead of merely early. > > > Craig Newman > > > > -Original Message- > From: Peter Haworth > To: How to use LiveCode > Sent: Sun, Feb 22, 2015 3:20 pm > Subject: Re: Sc

Re: Scrolling List selected lines

2015-02-22 Thread dunbarx
Subject: Re: Scrolling List selected lines Nice idea but alas, no joy with before mouseDown. I think the OS must do the highlighting even before LC gets into the loop. On Sun Feb 22 2015 at 12:14:48 PM J. Landman Gay wrote: > On 2/22/2015 1:11 PM, Peter Haworth wrote: > > I'm tr

Re: Scrolling List selected lines

2015-02-22 Thread Peter Haworth
Nice idea but alas, no joy with before mouseDown. I think the OS must do the highlighting even before LC gets into the loop. On Sun Feb 22 2015 at 12:14:48 PM J. Landman Gay wrote: > On 2/22/2015 1:11 PM, Peter Haworth wrote: > > I'm trying to find a message that is sent when I click on a line

Re: Scrolling List selected lines

2015-02-22 Thread J. Landman Gay
On 2/22/2015 1:11 PM, Peter Haworth wrote: I'm trying to find a message that is sent when I click on a line in a scrolling list field that happens before the selectedline property changes to show the line that was just clicked. I've tried mouseDown and selectionChanged but the selectedLines prop