home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1997 May / VPR9705A.ISO / VPR_DATA / PROGRAM / CBTRIAL / SETUP / DATA.Z / EDORDERS.H < prev    next >
C/C++ Source or Header  |  1997-02-14  |  3KB  |  100 lines

  1. //---------------------------------------------------------------------------
  2. // Borland C++Builder
  3. // Copyright (c) 1987, 1997 Borland International Inc.  All Rights Reserved.
  4. //---------------------------------------------------------------------------
  5. //---------------------------------------------------------------------------
  6. #ifndef edordersH
  7. #define edordersH
  8. //---------------------------------------------------------------------------
  9. #include <vcl\Classes.hpp>
  10. #include <vcl\Controls.hpp>
  11. #include <vcl\StdCtrls.hpp>
  12. #include <vcl\Forms.hpp>
  13. #include <vcl\ExtCtrls.hpp>
  14. #include <vcl\DBCtrls.hpp>
  15. #include <vcl\Buttons.hpp>
  16. #include <vcl\Mask.hpp>
  17. #include <vcl\DBGrids.hpp>
  18. #include <vcl\Grids.hpp>
  19. #include <vcl\DB.hpp>
  20. //---------------------------------------------------------------------------
  21. class TEdOrderForm : public TForm
  22. {
  23. __published:    // IDE-managed Components
  24.     TPanel *Speedbar;
  25.     TLabel *ModeIndicator;
  26.     TDBText *DBText1;
  27.     TDBNavigator *DBEditBtns;
  28.     TDBNavigator *DBNavBtns;
  29.     TSpeedButton *PrintBtn;
  30.     TBevel *Bevel1;
  31.     TPanel *HeaderPanel;
  32.     TImage *Image1;
  33.     TButton *PostBtn;
  34.     TButton *CancelBtn;
  35.     TButton *CloseBtn;
  36.     TLabel *Label2;
  37.     TLabel *Label28;
  38.     TLabel *Label19;
  39.     TLabel *Label18;
  40.     TDBEdit *SaleDateEdit;
  41.     TSpeedButton *PopupCalBtn;
  42.     TLabel *Label4;
  43.     TLabel *Label17;
  44.     TLabel *PaymentMethod;
  45.     TLabel *Label15;
  46.     TLabel *Label14;
  47.     TLabel *Label3;
  48.     TLabel *Tax;
  49.     TLabel *Label5;
  50.     TLabel *Label20;
  51.     TLabel *Label6;
  52.     TDBLookupComboBox *CompanyCombo;
  53.     TDBEdit *CustNoEdit;
  54.     TDBEdit *ShipToCompanyEdit;
  55.     TDBEdit *CustAdd1Edit;
  56.     TDBEdit *CustAdd2Edit;
  57.     TDBEdit *CustCityEdit;
  58.     TDBEdit *CustStateEdit;
  59.     TDBEdit *CustZipEdit;
  60.     TDBEdit *ShipToAdd1Edit;
  61.     TDBEdit *ShipToAdd2Edit;
  62.     TDBEdit *ShipToCityEdit;
  63.     TDBEdit *ShipToSateEdit;
  64.     TDBEdit *ShipToZipEdit;
  65.     TDBLookupComboBox *SoldByCombo;
  66.     TDBComboBox *TermsCombo;
  67.     TDBComboBox *PaymentCombo;
  68.     TDBComboBox *ShipViaCombo;
  69.     TDBEdit *POEdit;
  70.     TDBGrid *ItemsGrid;
  71.     TDBEdit *TotalEdit;
  72.     TDBEdit *TaxRateEdit;
  73.     TDBEdit *TaxTotalEdit;
  74.     TDBEdit *FreightEdit;
  75.     TDBEdit *AmountPaidEdit;
  76.     TDBEdit *AmountDueEdit;
  77.     TDataSource *ActiveSource;
  78.     void __fastcall ItemsGridEnter(TObject *Sender);
  79.     void __fastcall ActiveSourceStateChange(TObject *Sender);
  80.     void __fastcall ItemsGridExit(TObject *Sender);
  81.     void __fastcall CancelBtnClick(TObject *Sender);
  82.     void __fastcall PostBtnClick(TObject *Sender);
  83.     void __fastcall PickPartNo(TObject *Sender);
  84.     void __fastcall PickDate(TObject *Sender);
  85.     void __fastcall PrintBtnClick(TObject *Sender);
  86.     void __fastcall OrdersSourceStateChange(TObject *Sender);
  87.     void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose);
  88.     void __fastcall SoldByComboKeyPress(TObject *Sender, char &Key);
  89.     
  90. private:    // User declarations
  91. public:        // User declarations
  92.     virtual __fastcall TEdOrderForm(TComponent* Owner);
  93.     void Enter();
  94.     void Edit(double OrderNo);
  95. };
  96. //---------------------------------------------------------------------------
  97. extern TEdOrderForm *EdOrderForm;
  98. //---------------------------------------------------------------------------
  99. #endif
  100.