c_wait.pas

来自「经典的酒店管理系统」· PAS 代码 · 共 40 行

PAS
40
字号
unit C_Wait;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, ComCtrls, StdCtrls, ExtCtrls;

type
  TWaitForm = class(TForm)
    Panel2: TPanel;
    Label4: TLabel;
    Animate1: TAnimate;
    Label1: TLabel;
    Label3: TLabel;
  private
    { Private declarations }
    procedure GetTitle(ATitle: string);

  public
    { Public declarations }
    property FTitle: string write GetTitle;
  end;

var
  WaitForm: TWaitForm;

implementation

{$R *.dfm}

procedure TWaitForm.GetTitle(ATitle: string);
begin
  Label1.Caption := ATitle;
  Label3.Caption := ATitle;
  Animate1.Active:= True;
end;

end.

⌨️ 快捷键说明

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