On Mon, 8 Aug 2005 23:02:26 +0200
Tom Verhoeff <[EMAIL PROTECTED]> wrote:
> I am still struggling with the port of my largish (35000+ LOC) Delphi 6
> project to Lazarus. All the code now compiles and I have stripped font
> info from the .lfm files (especially for TEdit objects).
>
> The various units report that they get initialized properly. However,
> in .lpr after
>
> Application.CreateForm(TMainForm, MainForm);
> Application.Run;
>
> the OnCreate of this MainForm does not get called. OnCreate is defined in
> the Main.lfm file: OnCreate = FormCreate. FormCreate never gets called.
>
> If I try the same thing in a small Hello World project, it works fine.
>
> Have I overlooked something obvious. How can an event get lost, or
> can it be that the main event loop is affected?
Is the FormCreate procedure in the published section of the Form class
definition ? That's all I can think of right now...
Micha
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives