Marco Alvarado schreef:
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;
...
How is this code entered? I cannot imagine Application.Initialize or
Application.Run; do that.
Vincent
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives