home *** CD-ROM | disk | FTP | other *** search
/ Chip: Shareware for Win 95 / Chip-Shareware-Win95.bin / ostatni / delphi / ruzne / auto32d3.exe / rar / AUTO32D3 / DEMOS / DELPHI3.0 / GRIDBTN / MAIN.PAS < prev   
Pascal/Delphi Source File  |  1997-04-20  |  858b  |  45 lines

  1. unit main;
  2.  
  3. interface
  4.  
  5. uses
  6.   Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  7.   Buttons, StdCtrls, DB, DBTables, AutoDB, Grids, DBGrids, adbgrid,
  8.   ExtCtrls, agridbtn, Refer;
  9.  
  10. type
  11.   TForm1 = class(TForm)
  12.     Panel1: TPanel;
  13.     Panel2: TPanel;
  14.     AutoDBGrid1: TAutoDBGrid;
  15.     AutoTable1: TAutoTable;
  16.     DataSource1: TDataSource;
  17.     Button1: TButton;
  18.     BitBtn1: TBitBtn;
  19.     DBGridDateBtn1: TDBGridDateBtn;
  20.     DBGridMemoBtn1: TDBGridMemoBtn;
  21.     DBGridImageBtn1: TDBGridImageBtn;
  22.     Label1: TLabel;
  23.     procedure Button1Click(Sender: TObject);
  24.   private
  25.     { Private declarations }
  26.   public
  27.     { Public declarations }
  28.   end;
  29.  
  30. var
  31.   Form1: TForm1;
  32.  
  33. implementation
  34.  
  35. uses About;
  36.  
  37. {$R *.DFM}
  38.  
  39. procedure TForm1.Button1Click(Sender: TObject);
  40. begin
  41.   fmAboutBox.ShowModal;
  42. end;
  43.  
  44. end.
  45.