Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Incremental search in text box
Message
De
06/01/1999 07:56:42
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordanie
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Incremental search in text box
Divers
Thread ID:
00173082
Message ID:
00173082
Vues:
115
I'm trying to make a incremental search text box.. where I want to update a list box with the values which matches what user is typing..

currently I've written following code in keypress of textbox..

IF between(nKeyCode,32,126)

lcValue = lcValue + chr(nKeyCode)

ENDIF

IF nKeyCode = 127

lcValue = leftc(lcValue,len(lcValue)-1)

ENDIF

the problem is, if a user presses home key and delete then the lcvalue is not properly updated...

Actually I want the correct value as soon as the user presses any key in keypress event..

Pls help..
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform