[Lazarus] Font.OnChange already occupied

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Nov 21 14:06:38 CET 2012


On Wed, 21 Nov 2012 15:03:37 +0200
Valdas Jankūnas <zmuogs at gmail.com> wrote:

> 2012.11.21 14:46, Mattias Gaertner rašė:
> > On Wed, 21 Nov 2012 14:33:13 +0200
> > Valdas Jankūnas <zmuogs at gmail.com> wrote:
> >
> >> Hello,
> >>
> >>    I discovered that Font.OnChange of Form and their Components after
> >> creation is already assigned (not nil). Is it Ok?
> >
> > Yes.
> >
> 
> So, if I use own "Font.OnChange" event handler, then correct way is: to 
> call inherited event handler (saved before assignment) before font 
> modification (of child components) in own event handler or after?

Yes.

Mattias




More information about the Lazarus mailing list