How to sort on keydown

Admin admin at mfelkerco.com
Wed Aug 3 02:24:41 EDT 2011


  

Hello everyone. 

I wrote the following code: 

on keydown 
 show
field "MonthDropDown"
 sort items of field "MonthDropDown" by keydown
letter
end keydown

It's wrong. I know it's wrong. How do I make it
right? (I want the drop down list to end up on the letter of what the
user pressed on keydown, so if they pressed 'd' or 'D' I want "December"
to become highlighted.

Thanks everyone.

Mike

  


More information about the Use-livecode mailing list