2011-08-02 08:35:53 +00:00
|
|
|
unit PrintStatus;
|
|
|
|
|
2012-02-23 16:12:04 +00:00
|
|
|
{$include lazhexeditor.inc}
|
2011-08-02 08:35:53 +00:00
|
|
|
|
|
|
|
interface
|
|
|
|
|
|
|
|
uses
|
|
|
|
{$IFDEF FPC}
|
|
|
|
LCLType, LCLIntf, LResources,
|
|
|
|
{$ELSE}
|
|
|
|
Windows, Messages,
|
|
|
|
{$ENDIF}
|
|
|
|
SysUtils, Variants, Classes, Graphics, Controls, Forms,
|
|
|
|
Dialogs, StdCtrls;
|
|
|
|
|
|
|
|
type
|
|
|
|
TPrintStatusForm = class(TForm)
|
|
|
|
BUAbort: TButton;
|
|
|
|
LBPage: TLabel;
|
|
|
|
procedure BUAbortClick(Sender: TObject);
|
|
|
|
private
|
|
|
|
{ Private declarations }
|
|
|
|
public
|
|
|
|
{ Public declarations }
|
|
|
|
Aborted: Boolean;
|
|
|
|
end;
|
|
|
|
|
|
|
|
var
|
|
|
|
PrintStatusForm: TPrintStatusForm;
|
|
|
|
|
|
|
|
implementation
|
|
|
|
|
|
|
|
procedure TPrintStatusForm.BUAbortClick(Sender: TObject);
|
|
|
|
begin
|
|
|
|
Aborted := True;
|
|
|
|
end;
|
|
|
|
|
|
|
|
{$IFDEF FPC}
|
|
|
|
initialization
|
|
|
|
{$i printstatus.lrs}
|
|
|
|
{$ELSE}
|
|
|
|
{$R *.dfm}
|
|
|
|
{$ENDIF}
|
|
|
|
end.
|