Subject | RE: [IBO] Re: Searching without the Search bar capabilities |
---|---|
Author | Jason Wharton |
Post date | 2004-10-27T21:45:43Z |
I don't recommend hacking the SearchBuffer directly if the search criteria
you need isn't directly corresponding with the control. It's much easier,
cleaner and flexible to just use the method I recommended.
Jason Wharton
you need isn't directly corresponding with the control. It's much easier,
cleaner and flexible to just use the method I recommended.
Jason Wharton
> if you have controls in the form, and you want to do what the
> search bar does, you have to use the control's SearchBuffer property.
> Search mode criteria doesn't come from the field's buffer but a search
> buffer that is associated to the control's datalink.
> (i.e. IB_Edit1.SearchBuffer := 'Test'; )
> Then use "First" (maybe also post works, but I use First and I've no
> way to test it right now).
> best regards
> Marco Menardi