arrowkey and selectionchanged in a list field

Eric Chatonet eric.chatonet at sosmartsoftware.com
Sun Jun 24 04:12:05 EDT 2007


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

I have to apologize: you are right.
I confused with a case I wanted arrow keys to act as a carousel then  
needed to script it.
Thanks for this clarification.

Best regards from Paris,
Eric Chatonet.
----------------------------------------------------------------
Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: eric.chatonet at sosmartsoftware.com/
----------------------------------------------------------------





More information about the use-livecode mailing list