Subject | RE: [IBO] Problem with IB_LocateEditEnh |
---|---|
Author | Kaputnik |
Post date | 2001-01-13T00:04:18Z |
Well, as a Locate-Edit is meant for locating, and locationg while in
edit/insert-mode shouldn't be done, I would suggest to have it simply
disabled when in these modes. the most convenient way to do this would be an
additional property, perhaps AllowLocateInUpdate or so to toggle this
behavior.
My 2cents
CU, Kaputnik
(Nick Josipovic)
nick@... <mailto:nick@...>
kap@... <mailto:kap@...>
-----------------------------------------------------------------------
superior Client/Server programming:
www.IBObjects.com <http://www.ibobjects.com/>
a nice Tool for Interbase:
www.InterbaseWorkbench.com <http://www.InterbaseWorkbench.com>
edit/insert-mode shouldn't be done, I would suggest to have it simply
disabled when in these modes. the most convenient way to do this would be an
additional property, perhaps AllowLocateInUpdate or so to toggle this
behavior.
My 2cents
CU, Kaputnik
(Nick Josipovic)
nick@... <mailto:nick@...>
kap@... <mailto:kap@...>
-----------------------------------------------------------------------
superior Client/Server programming:
www.IBObjects.com <http://www.ibobjects.com/>
a nice Tool for Interbase:
www.InterbaseWorkbench.com <http://www.InterbaseWorkbench.com>
> -----Original Message-----
> From: Geoff Worboys [mailto:geoff@...]
> Sent: Saturday, January 13, 2001 12:39 AM
> To: IBObjects@egroups.com
> 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
>
>
>
>