Re: arrowkey and selectionchanged in a list field

2007-06-25 Thread David Glasgow
On 24 Jun 2007, at 2:12 pm, Eric Chatonet wrote: Hi David, Mark, Richard, etc. Le 23 juin 07 à 17:43, Richard Gaskin a écrit : Mark Smith wrote: On 23 Jun 2007, at 11:15, David Glasgow wrote: Unfortunately, selectionchanged is not sent if the selection is changed via arrow keys.

Re: arrowkey and selectionchanged in a list field

2007-06-25 Thread Ken Ray
Now, should I feel irritated I wasted time on an unnecessary handler, or happy that Rev does what I thought it ought to do in the first place *and* this list once again comes up trumps? I think this list tips the scale towards happy :-)) Also, don't forget to log this as a documentation

Re: arrowkey and selectionchanged in a list field

2007-06-24 Thread Eric Chatonet
Hi David, Mark, Richard, etc. Le 23 juin 07 à 17:43, Richard Gaskin a écrit : Mark Smith wrote: On 23 Jun 2007, at 11:15, David Glasgow wrote: Unfortunately, selectionchanged is not sent if the selection is changed via arrow keys. That's weird - I use this successfully in several

arrowkey and selectionchanged in a list field

2007-06-23 Thread David Glasgow
I have a list field containing the names of JPGs. I want the selected image displayed. This is easy using mouseup or selectionchanged to trigger the appropriate URL being prepended to the filename, and the file displayed correctly. However, I wanted users to be able to arrow up and down

arrowkey and selectionchanged in a list field

2007-06-23 Thread Michael Binder
David wrote: I was surprised to discover that the selectedline reported in this way seems to lag one behind the actual selected line, and display an image adjacent to the correct one. Eric responded with code: on arrowkey pKey if the number of lines of fld My Field 2 then if (pKey =

Re: arrowkey and selectionchanged in a list field

2007-06-23 Thread Eric Chatonet
Hi David, Le 23 juin 07 à 12:15, David Glasgow a écrit : I have a list field containing the names of JPGs. I want the selected image displayed. This is easy using mouseup or selectionchanged to trigger the appropriate URL being prepended to the filename, and the file displayed

Re: arrowkey and selectionchanged in a list field

2007-06-23 Thread Mark Smith
On 23 Jun 2007, at 11:15, David Glasgow wrote: Unfortunately, selectionchanged is not sent if the selection is changed via arrow keys. That's weird - I use this successfully in several projects: on selectionChanged showInfo the hilitedLine of me -- the handler that displays info

Re: arrowkey and selectionchanged in a list field

2007-06-23 Thread Richard Gaskin
Mark Smith wrote: On 23 Jun 2007, at 11:15, David Glasgow wrote: Unfortunately, selectionchanged is not sent if the selection is changed via arrow keys. That's weird - I use this successfully in several projects: on selectionChanged showInfo the hilitedLine of me -- the handler that

Re: arrowkey and selectionchanged in a list field

2007-06-23 Thread J. Landman Gay
David Glasgow wrote: Unfortunately, selectionchanged is not sent if the selection is changed via arrow keys. The message is sent here for me, and I have a couple of apps that rely on that behavior. Do you have a keydown, rawkeydown, or arrowkey handler somewhere that might be interfering? I