[Lazarus] Carbon: Application menu

EarMaster - Bent Olsen bent at earmaster.com
Tue Oct 28 18:50:02 CET 2008


Hi Graeme,

How does the 'Loaded' thing work?



2008/10/28 Graeme Geldenhuys <graemeg.lists at gmail.com>:
> On Tue, Oct 28, 2008 at 1:59 PM, Dave Coventry <dgcoventry at gmail.com> wrote:
>> At the moment I place all of the initialization routines in the
>> FormCreate but quite often I get an 'external SIGSEHV' exception as
>> the mouse generates a false onSelection event on a StringGrid,
>> presumably because the StringGrid has yet to be fully loaded.
>
> TComponent has a Loaded() method you could try and use.
>
> Alternative to FormCreate - maybe use a overridden AfterConstruction() method.
>
>  procedure AfterConstruction; override;
>
>
> Regards,
>  - Graeme -
>
>
> _______________________________________________
> fpGUI - a cross-platform Free Pascal GUI toolkit
> http://opensoft.homeip.net/fpgui/
> _______________________________________________
> Lazarus mailing list
> Lazarus at lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>



More information about the Lazarus mailing list