Mattias Gaertner wrote:
> Al Boldi <[EMAIL PROTECTED]> wrote:
> > Andrey Gusev wrote:
> > > With many forms have implements OnIdle event
> > > (TApplicationProperties) only one work really.
> > > Sample projects is attached. Debug output files must be identical,
> > > but for lazarus's project
> > > we only see output from 'bbb' form, whereas for delphi's - correct,
> > > intermittent from both forms
> > > (see *.log files in attached archive).
> > > I think, that is bug or incompleteness of TApplicationProperties
> > > component.
> > > What developers team thinked about that ?
> >
> > The problem is that Application.OnIdle is global, so setting it will
> > only fire for the last one.  Application.OnIdle should be set to
> > TApplicationProperties.OnIdle, then TApplicationProperties should
> > check whether there are other TApplicationProperties components, and
> > then fire those.  Should be easy to fix.
>
> TApplicationProperties now uses handler lists instead of global events.
> That means for example, two TApplicationProperties can now both set
> OnIdle and both are called.

Which version had this change?


Thanks!

--
Al

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to