Subject Re: [IBO] Problem with IB_LocateEditEnh
Author Jason Wharton
I think Geoff made the more correct design decision than I did. The control
should not serve a dual purpose of allowing editing and inserting to be
done. I agree that it should show the current data that is selected but that
is the extent of it.

Just my thoughts, feel free to request otherwise.

Regards,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com


----- Original Message -----
From: "Geoff Worboys" <geoff@...>
To: <IBObjects@egroups.com>
Sent: Friday, January 12, 2001 4:39 PM
Subject: Re: [IBO] Problem with IB_LocateEditEnh


> > Anyway, I will take a look to see if I can find what the
> > problem is and get back to you.
>
> Hi Damian,
>
> Well I found the difference. Simply comment out the SysUpdateData
> function (interface and implementation) overrides in
> IBC_LocateEditEnh.pas and then rebuild. The control will then behave
> the same as the native IBO control.
>
> I cannot say I have ever used LocateEdit for this purpose before. I
> would always be worried that the user would hit the Enter key while in
> edit/insert mode and send the dataset back to locate before the record
> was ready to post.
>
> I was wondering whether both TIB_LocateEdit and TIB_LocateEditEnh
> should be changed to prevent locate while in insert/edit mode - and
> perhaps even follow the colorscheme into these modes.
>
> Comments anyone? Should LocateEdit behave like a completely normal
> IB_Edit when in insert/edit mode?
>
> Geoff Worboys
> Telesis Computing
>
>
>
>