Subject | Re: [IBO] Strange behaviour of TIB_IncSearch |
---|---|
Author | Helen Borrie |
Post date | 2003-01-14T22:50:19Z |
At 10:41 PM 14/01/2003 +0100, you wrote:
e.g.
procedure TfmMyForm.ClearTheText(SE: TIB_IncSearch);
begin
with SE.DataSource.Dataset as TIB_BDataset do
ClearIncSearchString;
end;
procedure TfmMyForm.IB_IncSearch1Exit(Sender: TObject);
begin
ClearTheText( IB_IncSearch1 );
end;
Helen
>When using TIB_IncSearch on a column which contains NULL or ' ' values, theYou want the dataset's ClearIncSearchString method.
>component 'finds' at first the first empty cell, although there are plenty
>of values to be found with this first letter. When I continue typing
>letters, the cursor does not leave the empty cell, only when I backspace to
>the first letter, TIB_IncSearch starts working as it normally does.
>Both SeychKeyByKey and SeakNearest are true
>
>Any hints?
e.g.
procedure TfmMyForm.ClearTheText(SE: TIB_IncSearch);
begin
with SE.DataSource.Dataset as TIB_BDataset do
ClearIncSearchString;
end;
procedure TfmMyForm.IB_IncSearch1Exit(Sender: TObject);
begin
ClearTheText( IB_IncSearch1 );
end;
Helen