Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Turning off Spacebar as a selector?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00164711
Message ID:
00164813
Views:
19
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform