3
3932756
Unregistered / Unconfirmed
GUEST, unregistred user!
我在做启动画面是遇见一个问题,有点怪。程序如下:
program Measure;
uses
Forms,
face in 'face.pas' {FaceForm},
main in 'main.pas' {MainForm};
{$R *.res}
begin
Application.Initialize;
Application.CreateForm(TFaceForm, FaceForm);
FaceForm.Show;
FaceForm.Update;
Application.CreateForm(TMainForm, MainForm);
FaceForm.Hide;
FaceForm.Free;
Application.Run;
end.
这是我的启动画面程序,现在的问题是MainForm跟着启动画面FaceForm一起消失了。应该是启动画面消失后,主画面不应该消失呀,主画面是一个MDI窗口,它的Visable也是true。应该跟没有设延时时间无关吧????
program Measure;
uses
Forms,
face in 'face.pas' {FaceForm},
main in 'main.pas' {MainForm};
{$R *.res}
begin
Application.Initialize;
Application.CreateForm(TFaceForm, FaceForm);
FaceForm.Show;
FaceForm.Update;
Application.CreateForm(TMainForm, MainForm);
FaceForm.Hide;
FaceForm.Free;
Application.Run;
end.
这是我的启动画面程序,现在的问题是MainForm跟着启动画面FaceForm一起消失了。应该是启动画面消失后,主画面不应该消失呀,主画面是一个MDI窗口,它的Visable也是true。应该跟没有设延时时间无关吧????