Subject Re: TIB_LocateEdit bug ?
Author ymarcius
> I can see this happening when DataField is not assigned (and so
> attaches to the OrderingField). I believe the fix for this would be
> something like...
>
> procedure TIB_LocateEdit.EditingChanged( Sender: TIB_DataLink;
> IB_DataSource:
TIB_DataSource );
> begin
> if (DataLink.State in [dssInsert,dssEdit,dssSearch]) then begin
> if DisableEditing then
> inherited ReadOnly := true
> else inherited EditingChanged( Sender, IB_DataSource );
> end
> else
> if (DataLink.State in [dssBrowse]) then begin
> inherited ReadOnly := false
> end;
>
> I've not tested but I think that should work.

Hi Geoff!
Thank you for the answer.
I tried your patch but unfortunately it's not solving the problem. :(
Maybe the ReadOnly property is set to true somewhere else ?
Marcello