Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A SPACE in incremental searching a combobox
Message
From
26/07/2000 13:08:21
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
 
 
To
26/07/2000 12:06:55
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00396648
Message ID:
00397149
Views:
15
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform