Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Incremental Search
Message
From
28/10/1997 17:02:54
 
 
To
28/10/1997 16:51:37
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00057014
Message ID:
00057127
Views:
39
>>>>>>>>Does the Incremental Search Work in VFP 3.0. I have treid to use this feature with no success.
>>>>>>>
>>>>>>>I have a subclassed textbox that does an incremental search that works just fine. I added three properties to the subclass, 1 to store the table to search, the index tag to use and the field name that is searched. Is something like this what you are referring to?
>>>>>>
>>>>>>I was trying to use the incremental Search property in the combo box. I set it to true and do not get a search, but I do not recall specifuying which INdex to use. I think I will check.
>>>>>
>>>>>Set Combo.Style=2 to get incremental search
>>>>
>>>>The setting was 2 but the comboBox was not bound to a data field. Once it was bound it worked fine. Evidently I can't search a list made by the AddItem method.
>>>
>>>I have made quick test and found that IncrementalSearch works Ok for combo filled by AddItem. So, all things should be tested separately on each machine for every environment :)
>>
>>My guess is that the items weren't added in alpha order. This would make incremental search appear not to work.
>
>Was tested for non-alpha order:)

You're right I just tested also. I don't know how I did it before, but I once had a problem with incremental search not finding items that were out of alpha order... for example list items are as follows:
Apple
Banana
Germany
Zipper
Alfred

It worked for all items but Alfred. I'll have to play with it and see how I made it fail. (Funny how things only fail when you _don't_ want them to huh?)
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform