home *** CD-ROM | disk | FTP | other *** search
/ DOKAN 17 / DOKAN17.iso / Progs / Pjv03dde.zip / PJV03DDE / SRCCODE / SAMPLE3 / JVIEWU2.PAS < prev   
Pascal/Delphi Source File  |  1999-06-18  |  921b  |  48 lines

  1. unit jviewu2;
  2.  
  3. interface
  4.  
  5. uses
  6.   Windows, Messages, SysUtils, Classes, Graphics, Controls,
  7.   Forms, Dialogs, StdCtrls;
  8.  
  9. type
  10.   TForm2 = class(TForm)
  11.     Label1: TLabel;
  12.     Button1: TButton;
  13.     procedure Button1Click(Sender: TObject);
  14.     procedure FormClose(Sender: TObject; var Action: TCloseAction);
  15.   private
  16.     { Private declarations }
  17.   public
  18.     { Public declarations }
  19.   end;
  20.  
  21. var
  22.   Form2  : TForm2;
  23.   bAbort : boolean;
  24.  
  25. implementation
  26.  
  27. {$R *.DFM}
  28.  
  29. // -----------------------------------------------------------------------
  30.  
  31. procedure TForm2.Button1Click(Sender: TObject);
  32.  
  33. begin
  34.   bAbort := true;
  35. end;
  36.  
  37. // -----------------------------------------------------------------------
  38.  
  39. procedure TForm2.FormClose(Sender: TObject; var Action: TCloseAction);
  40.  
  41. begin
  42.   bAbort := true;
  43. end;
  44.  
  45. // -----------------------------------------------------------------------
  46.  
  47. end.
  48.