AW: AW: how to get the current selected line with arrow key?

Eric Chatonet eric.chatonet at sosmartsoftware.com
Fri Jun 13 12:13:05 EDT 2008


Bonjour Jacque,

I would vote for such a request :-)

Le 13 juin 08 à 18:05, J. Landman Gay a écrit :

> Eric Chatonet wrote:
>> Just a detail:
>> Regarding arrow keys handling, rawKeyDown sounds a bit better :-)
>
> Yes, you're right. I mis-typed. The selection in a list doesn't  
> change till the arrow key goes up, so rawKeyDown will report the  
> currently selected line(s), and rawKeyUp will report the changed,  
> new selected line(s).
>
> I think a nice addition to the language would be to add a couple of  
> parameters to the selectionChanged message, just like menupick  
> does. The first param would contain the new selection and the  
> second would contain the previous one. That could be very handy.
>
> -- 
> Jacqueline Landman Gay

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