home *** CD-ROM | disk | FTP | other *** search
/ Delphi 4 Bible / Delphi_4_Bible_Tom_Swan_IDG_Books_1998.iso / source / MASTER / MAIN.PAS < prev    next >
Pascal/Delphi Source File  |  1998-03-16  |  1KB  |  57 lines

  1. unit Main;
  2.  
  3. interface
  4.  
  5. uses
  6.   SysUtils, Windows, Messages, Classes, Graphics, Controls,
  7.   StdCtrls, Forms, DBCtrls, DB, Grids, DBGrids, DBTables,
  8.   Mask, ExtCtrls, Buttons;
  9.  
  10. type
  11.   TMainForm = class(TForm)
  12.     ScrollBox: TScrollBox;
  13.     Label1: TLabel;
  14.     EditCUR_PRICE: TDBEdit;
  15.     Label2: TLabel;
  16.     EditEXCHANGE: TDBEdit;
  17.     Label3: TLabel;
  18.     EditCO_NAME: TDBEdit;
  19.     Label4: TLabel;
  20.     EditSYMBOL: TDBEdit;
  21.     Label5: TLabel;
  22.     EditP_E_RATIO: TDBEdit;
  23.     Label6: TLabel;
  24.     EditYRL_LOW: TDBEdit;
  25.     Label7: TLabel;
  26.     EditYRL_HIGH: TDBEdit;
  27.     DBNavigator: TDBNavigator;
  28.     Panel1: TPanel;
  29.     MasterSource: TDataSource;
  30.     Panel2: TPanel;
  31.     MasterTable: TTable;
  32.     DetailTable: TTable;
  33.     DetailSource: TDataSource;
  34.     DBGrid1: TDBGrid;
  35.     BitBtn1: TBitBtn;
  36.     procedure FormCreate(Sender: TObject);
  37.   private
  38.     { private declarations }
  39.   public
  40.     { public declarations }
  41.   end;
  42.  
  43. var
  44.   MainForm: TMainForm;
  45.  
  46. implementation
  47.  
  48. {$R *.DFM}
  49.  
  50. procedure TMainForm.FormCreate(Sender: TObject);
  51. begin
  52.   MasterTable.Open;
  53.   DetailTable.Open;
  54. end;
  55.  
  56. end.
  57.