Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refreshing a Textbox from the Key Press of a Listbox
Message
De
17/10/1998 16:19:34
 
 
À
17/10/1998 12:53:18
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00147800
Message ID:
00147821
Vues:
23
>I'm trying to capture the keypress in a list box and then update a textbox on the form based on which record is active; like forcing a double click each time the user presses a key. If they type "F" to go to the firm name "Farrow and Company" I want that to refresh in the textbox. Same goes if they press the down arrow. For some reason, it always seems to be one action behind. As if it's refreshing for the item it's leaving, not the one it's moving to. What am I missing?
>
>Thanks in advance, Renoir

You should be using the interactivechange event, not the valid event. This way the textbox will refresh for mouseclicks and for keypresses.
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform