X
xinjia
Unregistered / Unconfirmed
GUEST, unregistred user!
一个项目,有一个主窗体mainform
主窗体上有menu,每个menuitem的click事件都是show.otherform SDI结构
program maind;
可是运行时老是先建立按钮show的窗体rklr窗体并show
以后才建立主窗体mainform并show;不知何故
uses
Forms,
mainp in 'mainp.pas' {mainform},
rklrp in 'rklrp.pas' {rklr},
qyjlp in 'qyjlp.pas' {qyjl},
zxjlp in 'zxjlp.pas' {zxjl},
{$R *.RES}
begin
Application.Initialize;
Application.CreateForm(Tmainform, mainform);
Application.CreateForm(Trklr, rklr);
Application.CreateForm(Tqyjl, qyjl);
Application.CreateForm(Tzxjl, zxjl);
Application.CreateForm(Tswzx, swzx);
Application.Run;
end.
主窗体上有menu,每个menuitem的click事件都是show.otherform SDI结构
program maind;
可是运行时老是先建立按钮show的窗体rklr窗体并show
以后才建立主窗体mainform并show;不知何故
uses
Forms,
mainp in 'mainp.pas' {mainform},
rklrp in 'rklrp.pas' {rklr},
qyjlp in 'qyjlp.pas' {qyjl},
zxjlp in 'zxjlp.pas' {zxjl},
{$R *.RES}
begin
Application.Initialize;
Application.CreateForm(Tmainform, mainform);
Application.CreateForm(Trklr, rklr);
Application.CreateForm(Tqyjl, qyjl);
Application.CreateForm(Tzxjl, zxjl);
Application.CreateForm(Tswzx, swzx);
Application.Run;
end.