home *** CD-ROM | disk | FTP | other *** search
/ PC Format Collection 48 / SENT14D.ISO / tech / delphi / disk15 / dbaware1.pak / MAIN.PAS < prev   
Encoding:
Pascal/Delphi Source File  |  1995-08-24  |  832 b   |  41 lines

  1. { Demos the use of TDBEdit, TDBComboBox, and TDBListBox }
  2. unit Main;
  3.  
  4. interface
  5.  
  6. uses
  7.   SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
  8.   Forms, DBTables, DB, StdCtrls, DBCtrls, Mask, Grids, DBGrids, ExtCtrls;
  9.  
  10. type
  11.   TForm1 = class(TForm)
  12.     Table1: TTable;
  13.     DataSource1: TDataSource;
  14.     DBGrid1: TDBGrid;
  15.     Panel1: TPanel;
  16.     DBEdit1: TDBEdit;
  17.     DBComboBox1: TDBComboBox;
  18.     Table1OrderNo: TFloatField;
  19.     Table1CustNo: TFloatField;
  20.     Table1ItemsTotal: TCurrencyField;
  21.     DBListBox1: TDBListBox;
  22.     Label1: TLabel;
  23.     Label2: TLabel;
  24.     Label3: TLabel;
  25.     Label4: TLabel;
  26.     Table1PaymentMethod: TStringField;
  27.   private
  28.     { Private declarations }
  29.   public
  30.     { Public declarations }
  31.   end;
  32.  
  33. var
  34.   Form1: TForm1;
  35.  
  36. implementation
  37.  
  38. {$R *.DFM}
  39.  
  40. end.
  41.