[Lazarus] Initializing my App

Graeme Geldenhuys graemeg.lists at gmail.com
Tue Oct 28 13:18:01 CET 2008


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/



More information about the Lazarus mailing list