本文整理自网络,侵删。
procedure ShowMsg(sLog:string); var Frm:Tform; Mo:Tmemo; begin Frm:=Tform.Create(application); Frm.Width:=800; Frm.Height:=500;
mo:=Tmemo.Create(frm); mo.Align:=alClient; mo.ScrollBars:=ssVertical; mo.Text:=sLog; mo.Parent:=frm; frm.Position:=poScreenCenter; frm.ShowModal; freeandnil(frm); end;
相关阅读 >>
Delphi中strtodatetime函数tformatsettings参数的使用
Delphi用多媒体库 bass.dll 播放 mp3 - 打开、播放、暂停、停止
Delphi使用cef4Delphi制作chromium谷歌内核浏览器
Delphi unigui 安装和配置hyperserver
Delphi 如何使用findfirst搜索不同的文件类型?
更多相关阅读请进入《Delphi》频道 >>