Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A SPACE in incremental searching a combobox
Message
De
26/07/2000 13:08:21
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
 
 
À
26/07/2000 12:06:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00396648
Message ID:
00397149
Vues:
14
John,

Read about INKEY(). Spacebar is 32. NoDefault means "don't do what you usually do" so here you would catch the space character and not respond to it in the usual way. But, you want to add a space to the text.

Then in the KeyPress() of your box put something like:
IF nKeyCode = 32
 NODEFAULT
ENDIF
>thanx Cindy
>please excuse my ignorance, but i am unfamiliar with 'nodefault'.
>Best - John
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform