Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Turning off Spacebar as a selector?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00164711
Message ID:
00164813
Vues:
26
Rick,

In the cbo.KeyPress:
if ( nKeyCode = 32 )
   nodefault
endif
>I'm in a combo-box using incremental search and I want to incrementally search in strings which have embedded spaces.
>
>For instance:
>"Great West - Ohio"
>I want to be able to enter:
>"g"
>"r"
>"e"
>"a"
>"t"
>" "
>"w"
>"e"
>"s"
>"t"
>etc., etc., etc.
>
>The problem I'm having is when the spacebar is hit, it's acting as a selector...in terminates the incremental search. I would like to allow the use of the space bar. How do I do that? I tried the keypress event and either I'm using it wrong or????
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform