谢谢!
解决方案 »
- delphi2009 opendialog问题。。我的天!!大问题。
- 关于DLL的一个非常奇怪的问题,需要高手来讨论!
- 大家快来看看,now怎么用?
- 用ActionManager能否作出xp按钮???
- 关于tobject的components的问题
- 怎样做一个DLL,然后我调用里面的函数,就可以EXE动态的添加DLL里面的菜单?
- ado 与sql server 2000的问题?急
- 一个非常另人郁闷的问题,大家请进,多多指教。。。。。。。。
- 封闭开发告一段落,轻松一下,散份
- 在mdi表單中調用設為最大化的子表單時,它首先顯示小的子表單,然后才把它最大化,影響美觀,有何辦法解決?
- 各位高手请进
- 在Type Library中出现“Hint TypeInfo 'aaa' changed to 'aaa_'”,怎么让它不改呢?
在主窗体的oncreate中sleep(??)
Application.Initialize;
try
form3:=tform3.Create(application);
form3.Show;
form3.update;
Application.CreateForm(TForm1, Form1);
Application.CreateForm(TForm2, Form2);
finally
form3.free;
end;
Application.Run;
end.
就是这段算法,不知如何添加语句?
sleep(xx)
i:Integer;i:=GetTickCount;
While (GetTickCount-i < 5000) Do Application.ProcessMessages;
2.写在dpr文件当中,如 huangrx(一水寒) 所述
3.计算时间差,如 ehom 所述
4.使用TThread
5......太多的方法,关键是你需要完成什么样的功能,你想怎么做
例如: Form3中添加Ttimer控件Timer1procedure TForm3.Formcreate(Sender : TObject);
begin
timer1.Inteval := 5000;
timer1.enabled := true;
end;procedure TForm3.Timer1Timer(Sender: TObject);
begin
timer1.enabled := false;
close;
end;