arrowkey and selectionchanged in a list field

Richard Gaskin ambassador at fourthworld.com
Sat Jun 23 11:43:16 EDT 2007


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 displays info  
> about the list item
> end selectionChanged
> 
> and it certainly works with the arrow keys, without any spcial  
> scripting....
> 
> Is there some property of the list field that you've set or unset?

I get the same reliable result here in many applications I use list 
fields in.

Dave, is the traversalOn property set?  The only way I can not get the 
desired behavior is to turn that property off; with it on it works like 
a champ.

-- 
  Richard Gaskin
  Managing Editor, revJournal
  _______________________________________________________
  Rev tips, tutorials and more: http://www.revJournal.com



More information about the use-livecode mailing list