home *** CD-ROM | disk | FTP | other *** search
/ Delphi Magazine Collection 2001 / Delphi Magazine Collection 20001 (2001).iso / DISKS / Issue66 / Construc / Refactor / Source / fOptions.pas < prev    next >
Encoding:
Pascal/Delphi Source File  |  2000-10-15  |  787 b   |  40 lines

  1. unit fOptions;
  2.  
  3. interface
  4.  
  5. uses
  6.   Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  7.   StdCtrls, Buttons, ExtCtrls;
  8.  
  9. type
  10.   Tf_options = class(TForm)
  11.     Panel1: TPanel;
  12.     cb_autoIncrement: TCheckBox;
  13.     cb_AutoComment: TCheckBox;
  14.     cb_minimize: TCheckBox;
  15.     b_OK: TBitBtn;
  16.     b_cancel: TBitBtn;
  17.     cb_CheckVersion: TCheckBox;
  18.     cb_VerInfoInVerFile: TCheckBox;
  19.     cb_HaltOnError: TCheckBox;
  20.     procedure FormClose(Sender: TObject; var Action: TCloseAction);
  21.   private
  22.     { Private declarations }
  23.   public
  24.     { Public declarations }
  25.   end;
  26.  
  27. var
  28.   f_options: Tf_options;
  29.  
  30. implementation
  31.  
  32. {$R *.DFM}
  33.  
  34. procedure Tf_options.FormClose(Sender: TObject; var Action: TCloseAction);
  35. begin
  36.   action := caFree;
  37. end;
  38.  
  39. end.
  40.