Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pick behavior list from ListBox
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00123216
Message ID:
00123259
Vues:
24
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform