Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Incremental search
Message
 
 
To
04/06/2001 16:20:40
Ing. T.R.M. Pluym
Pluym Elektronics Bv
Hulst, Netherlands
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00514814
Message ID:
00514834
Views:
18
This message has been marked as the solution to the initial question of the thread.
>My application uses a grid.
>
>I like to give it incremental search capabilities.
>
>I searched trough the FAQ but I cannot find an example.
>In the downloads there are some, but they use a fixed class.
>
>Can someone give me an example to start with ?
>
>Thanks in advance...

In the Download section here there is an InGrid class, which is what you want.
I made few minor changes in this class to enchance its functionality, if you're interested, drop me a note to nosonov@msn.com

Basically my changes are minor and they are:
1) Margin property set to 0 (otherwise it gives some undesired effect)
2) In KeyPress method I check for this.readonly or parent.readonly or parent.parent.readonly. If none of them is true, I make it behave as a regular textbox.
3) I added a new property called cFixedPart to allow search for particular column, but use compound index.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform