
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2312 8e941d3f-bd1b-0410-a28a-d453659cc2b4
45 lines
692 B
ObjectPascal
45 lines
692 B
ObjectPascal
unit PrintStatus;
|
|
|
|
{$include lazhexeditor.inc}
|
|
|
|
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.
|