[Lazarus] TDBGrid

Bernd prof7bit at googlemail.com
Fri Aug 27 01:44:15 CEST 2010


2010/8/24 Jesus Reyes <jesusrmx at yahoo.com.mx>:

> The problem with OnEditingDone is (or at least it was) that it was triggered even if you have not made changes to it (for example simply moving focus to another control), which is misleading because you didn't really edited anything. So Although the name On-Editing-Done is straightforward it may or not mean what you think.
>
> It then reduces to want you want to do in OnEditingDone?

Thanks for fixing the focus problem so quickly!

The OnEditingDone is not so important. I started searching for this
(or a similar)
event while trying to work around the focus problem. I noticed that
the grid itself
provides no events to directly react to editing done or even selection
change and so
(and after seeing it there implemented already) thought it was only forgotten
to make it accessible through the Object Inspector.

But now after thinking about it for a while there are indeed not many possible
use cases that could not be addressed by using the datasource instead.

If you mark this bug as "wontfix" I would not protest ;-)

Bernd




More information about the Lazarus mailing list