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 :=
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.:
Oh, forgot to tell, this part:
...
begin
Application.Initialize;
Application.Run;
end.
is inside an unit's initilization section. So the main program still
runs, creating the form. :D
2007/11/26, Vincent Snijders [EMAIL PROTECTED]:
Marco Alvarado schreef:
I need to create my forms
Marco Alvarado schreef:
Oh, forgot to tell, this part:
...
begin
Application.Initialize;
Application.Run;
end.
is inside an unit's initilization section. So the main program still
runs, creating the form. :D
Until you do Application.Initialize, some widget set call might not
work. So
On Mon, 26 Nov 2007 12:05:27 -0600
Marco Alvarado [EMAIL PROTECTED] wrote:
Oh, forgot to tell, this part:
...
begin
Application.Initialize;
Application.Run;
end.
is inside an unit's initilization section. So the main program still
runs, creating the form. :D
The
Sorry, this is the part that is inside the initialization section:
Application.Initialize;
Application.Run;
Not in the main begin..end, so it should execute before the main
program creates the window.
Anyway, maybe the way the widgetset works is not the same as the way
VCL works. Maybe I