[EMAIL PROTECTED] wrote:

I close some of the unneeded forms manually.

I am not destroying them. I just close them.

Why do you do that? Just tell lazarus to not create the forms.
Project | Project Options | Forms
Move the forms you don't want to create to "Available".

I'm not shure, but perhaps you destroy a form that is not created yet.

Sorry, but I think I am misunderstanding something badly.
I do not see the difference in creating the forms by myself than letting Lazarus create them. :/

|[...]
procedure Tfrm_main.Form1Show(Sender: TObject);
begin
nc_prog_writer:=TNCWriter.Create;

Console:=tConsole.Create(self);
frm_progress:=tfrm_progress.create(self);
frm_geo_properties:=tfrm_geo_properties.create(self);
frm_nccmd_param9:=tfrm_nccmd_param9.create(self);
frm_ncprog:=tfrm_ncprog.create(self);

Console.show;
frm_progress.close;
frm_geo_properties.close;
frm_nccmd_param9.close;
frm_ncprog.show;

sdl_win:=tsdl_win_thread.Create;
caption:='DXF2MCR '+version;
left:=0;
top:=0;
end;
[...]
|

Try it and report back ;-)


Anyway, thanks for your patience. =D

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

Reply via email to