[Lazarus] .OnEditingDone event

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Dec 15 15:18:46 CET 2014


On Mon, 15 Dec 2014 16:07:17 +0200
"Chris Crori" <crori49 at yahoo.com> wrote:

> Hi!
>     I tried to use .OnEditingDone event on TEdit and found out that it is called like .OnExit, even if there was no change.

A change compared to what?

> Is this by design?

Yes.

> I thought that to trigger a .OnEditingDone event, there shoud be a *beginning* in editing.
> 
> eg : A Form with 2 edits, clicking each one, makes the other one run a .OnEditingDone event every time!

Correct.

Mattias




More information about the Lazarus mailing list