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/ _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal