Re: How to sort on keydown

2011-08-03 Thread Admin
"If so, you will need to build your own control, easy and fun to do" Not so sure if I want that kind of fun. I'd be happy with a drop down control that works. Already tried a more homegrown solution that was more trouble than it was worth. Mike

Re: How to sort on keydown

2011-08-03 Thread dunbarx
-- From: Admin To: How to use LiveCode Sent: Wed, Aug 3, 2011 9:54 am Subject: Re: How to sort on keydown Chris, I did away with the drop down (which was not really a true drop down since the revlet player cannot scroll drop down boxes in most browsers), and switched to a option box instead.

Re: How to sort on keydown

2011-08-03 Thread Admin
Chris, I did away with the drop down (which was not really a true drop down since the revlet player cannot scroll drop down boxes in most browsers), and switched to a option box instead. How would I do the same thing (user clicks the option box and then presses say, the 'm" key for March?

Re: How to sort on keydown

2011-08-03 Thread Nonsanity
Since sort will re-order the items, I think what you want is "select". You are also sorting "items" which by default means the chunks of text separated by commas (you can change the commas to any other character by setting the itemDelimiter), but I'm guessing you mean lines. If it actually IS items

Re: How to sort on keydown

2011-08-03 Thread Admin
Pete, Taking your advice, I changed the combo boxes to option drop down controls (ignore the name of cmbGender - it's still a option box now). The following no longer works. Please advise on how to fix these: set the label of btn "cmbGender" to "Choose" set the label of btn "optMonth" t

Re: How to sort on keydown

2011-08-03 Thread Pete
I'm not exactly sure what you are trying to do but here's a suggestion. Sounds like you should use an option menu and set the text property of it in the Inspector palette to the months in alpha order, one per line. When the user clicks on the option menu, the list of months will appear and if the

Re: How to sort on keydown

2011-08-02 Thread Admin
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 keydo