⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 show_thread.pas

📁 delphi6.0电子寻更源程序,用来计算保安有无查抄
💻 PAS
字号:
unit show_thread;
interface
uses
 Windows,SysUtils, Classes,stdctrls,forms,Async32,comctrls,GVAS,dialogs,db;
type
  tformshow = class(TThread)
  private
   //FStbRst:TStatusBar;
    fowner:thandle;
    { Private declarations }
 protected
    procedure Execute; override;
  public
 constructor create(owner:thandle);
  end;
implementation
uses yxxx_view_pas;
 constructor tformshow.create(owner:thandle);
 begin
 fowner:=owner;
  inherited create(false);
 freeonterminate:=true;
 end;
 procedure tformshow.Execute;
begin
application.createform(tyxxx_view,yxxx_view);
end;

{ Important: Methods and properties of objects in VCL can only be used in a
  method called using Synchronize, for example,

      Synchronize(UpdateCaption);

  and UpdateCaption could look like,

    procedure tformshow.UpdateCaption;
    begin
      Form1.Caption := 'Updated in a thread';
    end; }

{ tformshow }

end.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -