Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pick behavior list from ListBox
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00123216
Message ID:
00123259
Views:
25
>this was supposed to say:
>
>
>I would like to use a listbox like a pick list in that each item in the list would be preceeded by a number or letter. When the user enters < 3 > from the keyboard I would like item 3 selected without the user then having to then press < ENTER >. I can make the list with an array - but I can't get rid of the < ENTER > keystroke.
>
>I used to get this behavior in FoxDOS by SET CONFIRM OFF. Any ideas?
>
>thanks in advance

Richard, because the UT uses HTML to display messages, you need to add a space inside the angle brackets.

As for your question, if you are certain your list will always be less than 10 items (so you don't confuse '1' with '10') you can use the interactive change command to put a chr(13) into the keyboard buffer.

HTH
Barbara
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform