[fpc-pascal] When is TComponent.Loaded called?
    Graeme Geldenhuys 
    graemeg.lists at gmail.com
       
    Mon Sep 17 13:15:36 CEST 2007
    
    
  
Hi,
As the subject says. When is TComponent.Loaded called?  I'm trying to
use it in fpGUI to initialize a few things in a component, but Loaded
never seems to execute.
Reading the Kylix 3 help, it says Loaded is called by the streaming
system that loads the 'form files'.  Well fpGUI doesn't use 'form
files' (like *.dfm or *.lfm). Instead the GUI Designer creates the
components via code in a normal *.pas unit, which is called after the
Form's constructor has completed.
I gather it is safe to assume the FCL never calls a TComponent's
Loaded method anywhere?
-- 
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
    
    
More information about the fpc-pascal
mailing list