unit3.pas
来自「非常实用本人心血研制不是为了更多我需要的代码不会轻易拿出来换东东的关于盘刻录程序」· PAS 代码 · 共 49 行
PAS
49 行
unit Unit3;
interface
uses
Classes;
type
mythread2 = class(TThread)
private
{ Private declarations }
protected
procedure Execute; override;
public
constructor create;
end;
implementation
uses unit1;
{ 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 mythread2.UpdateCaption;
begin
Form1.Caption := 'Updated in a thread';
end; }
{ mythread2 }
constructor mythread2.create;
begin
inherited create(true);
end;
procedure mythread2.Execute;
begin
{ Place thread code here }
end;
end.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?