unit2.~pas

来自「chart 图表线程绘制的一个演示程序.使用delphi7.0 编译」· ~PAS 代码 · 共 38 行

~PAS
38
字号
unit Unit2;

interface

uses
  Classes;

type
  TChartThread = 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);

  and UpdateCaption could look like,

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

{ TChartThread }
      uses unit1;
procedure TChartThread.Execute;
begin
  { Place thread code here }
end;

end.
 

⌨️ 快捷键说明

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