home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 May
/
Pcwk0597.iso
/
borland
/
cb
/
setup
/
cbuilder
/
data.z
/
EDORDERS.H
< prev
next >
Wrap
C/C++ Source or Header
|
1997-02-28
|
3KB
|
100 lines
//---------------------------------------------------------------------------
// Borland C++Builder
// Copyright (c) 1987, 1997 Borland International Inc. All Rights Reserved.
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
#ifndef edordersH
#define edordersH
//---------------------------------------------------------------------------
#include <vcl\Classes.hpp>
#include <vcl\Controls.hpp>
#include <vcl\StdCtrls.hpp>
#include <vcl\Forms.hpp>
#include <vcl\ExtCtrls.hpp>
#include <vcl\DBCtrls.hpp>
#include <vcl\Buttons.hpp>
#include <vcl\Mask.hpp>
#include <vcl\DBGrids.hpp>
#include <vcl\Grids.hpp>
#include <vcl\DB.hpp>
//---------------------------------------------------------------------------
class TEdOrderForm : public TForm
{
__published: // IDE-managed Components
TPanel *Speedbar;
TLabel *ModeIndicator;
TDBText *DBText1;
TDBNavigator *DBEditBtns;
TDBNavigator *DBNavBtns;
TSpeedButton *PrintBtn;
TBevel *Bevel1;
TPanel *HeaderPanel;
TImage *Image1;
TButton *PostBtn;
TButton *CancelBtn;
TButton *CloseBtn;
TLabel *Label2;
TLabel *Label28;
TLabel *Label19;
TLabel *Label18;
TDBEdit *SaleDateEdit;
TSpeedButton *PopupCalBtn;
TLabel *Label4;
TLabel *Label17;
TLabel *PaymentMethod;
TLabel *Label15;
TLabel *Label14;
TLabel *Label3;
TLabel *Tax;
TLabel *Label5;
TLabel *Label20;
TLabel *Label6;
TDBLookupComboBox *CompanyCombo;
TDBEdit *CustNoEdit;
TDBEdit *ShipToCompanyEdit;
TDBEdit *CustAdd1Edit;
TDBEdit *CustAdd2Edit;
TDBEdit *CustCityEdit;
TDBEdit *CustStateEdit;
TDBEdit *CustZipEdit;
TDBEdit *ShipToAdd1Edit;
TDBEdit *ShipToAdd2Edit;
TDBEdit *ShipToCityEdit;
TDBEdit *ShipToSateEdit;
TDBEdit *ShipToZipEdit;
TDBLookupComboBox *SoldByCombo;
TDBComboBox *TermsCombo;
TDBComboBox *PaymentCombo;
TDBComboBox *ShipViaCombo;
TDBEdit *POEdit;
TDBGrid *ItemsGrid;
TDBEdit *TotalEdit;
TDBEdit *TaxRateEdit;
TDBEdit *TaxTotalEdit;
TDBEdit *FreightEdit;
TDBEdit *AmountPaidEdit;
TDBEdit *AmountDueEdit;
TDataSource *ActiveSource;
void __fastcall ItemsGridEnter(TObject *Sender);
void __fastcall ActiveSourceStateChange(TObject *Sender);
void __fastcall ItemsGridExit(TObject *Sender);
void __fastcall CancelBtnClick(TObject *Sender);
void __fastcall PostBtnClick(TObject *Sender);
void __fastcall PickPartNo(TObject *Sender);
void __fastcall PickDate(TObject *Sender);
void __fastcall PrintBtnClick(TObject *Sender);
void __fastcall OrdersSourceStateChange(TObject *Sender);
void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose);
void __fastcall SoldByComboKeyPress(TObject *Sender, char &Key);
private: // User declarations
public: // User declarations
virtual __fastcall TEdOrderForm(TComponent* Owner);
void Enter();
void Edit(double OrderNo);
};
//---------------------------------------------------------------------------
extern TEdOrderForm *EdOrderForm;
//---------------------------------------------------------------------------
#endif