Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_INCSEEK not working in VFP7.0?
Message
 
 
To
14/02/2003 10:06:24
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00751438
Message ID:
00753275
Views:
22
Gordon,

>So I slow down my typing and it works. I do realize that this is not proper behavior but at the time, I thought this was the only way to do this kind of search.

This appears to be an artifact of the excessive size of your listbox, that UI component is really designed to have a few hundred items at most.

>With that said. Your insight into the Grid with a textbox(???) incremental search sounds very promising. How does this work?

You can format the grid to make it look like a listbox. You replace the default text1 textbox with an incremental seek textbox subclass (you can search the files section here for one). The subclass hooks the InteractiveChange or KeyPress events and it does a SEEK on the underlying datasource. This works great.

You might also use a UI where the user types into a textbox SMI and on LostFocus that does a query to pull the rows that match SMI into a listbox.
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