unit1.pas
来自「Yahoo Messenger for Mobile」· PAS 代码 · 共 39 行
PAS
39 行
unit Unit1;
interface
uses
Classes;
type
test = class(TThread)
private
{ Private declarations }
protected
procedure Execute; override;
end;
implementation
{ Important: Methods and properties of objects in VCL or CLX can only be used
in a method called using Synchronize, for example,
Synchronize(UpdateCaption);
Synchronize(form1.UpdateConsole);
and UpdateCaption could look like,
procedure test.UpdateCaption;
begin
Form1.Caption := 'Updated in a thread';
end; }
{ test }
procedure test.Execute;
begin
{ Place thread code here }
end;
end.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?