I need to create my forms dynamically. In Delphi I just remove the
designed form from the main program, so it looks like this:

...
begin
  Application.Initialize;
  Application.Run;
end.

Later on, I just create new instances of my forms and assign it's
properties, i.e.:

...
  AForm := TMyForm.Create(Application);
  AForm.Caption := 'This is my form';
  AForm.Left := X;
  AForm.Top := Y;
  AForm.Width := Width;
  AForm.Height := Height;
  AForm.Show;
...

In Delphi that's all I need, and it works. But must be missing
something in Lazarus, because the program runs and executes without
exceptions, but there is no form shown. I included Forms and
Interfaces in the uses clause.

Any ideas? Thanks!
-Marco

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to