home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 1997 May
/
VPR9705A.ISO
/
VPR_DATA
/
PROGRAM
/
CBTRIAL
/
SETUP
/
DATA.Z
/
SRCHDLG.H
< prev
next >
Wrap
C/C++ Source or Header
|
1997-02-14
|
2KB
|
53 lines
//---------------------------------------------------------------------------
// Borland C++Builder
// Copyright (c) 1987, 1997 Borland International Inc. All Rights Reserved.
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
#ifndef srchdlgH
#define srchdlgH
//---------------------------------------------------------------------------
#include <vcl\Classes.hpp>
#include <vcl\Controls.hpp>
#include <vcl\StdCtrls.hpp>
#include <vcl\Forms.hpp>
#include <vcl\Buttons.hpp>
#include <vcl\DBGrids.hpp>
#include <vcl\Grids.hpp>
#include <vcl\DB.hpp>
//---------------------------------------------------------------------------
class TSearchDlg : public TForm
{
__published: // IDE-managed Components
TLabel *Label1; //
TLabel *Label2; //
TComboBox *OrderCombo; //
TEdit *SearchEd; //
TSpeedButton *SearchButton; //
TButton *OKBtn; //
TButton *CancelBtn; //
TDBGrid *DBGrid1; //
TDataSource *DataSource; //
void __fastcall DBGrid1DblClick(TObject *Sender);
void __fastcall SearchButtonClick(TObject *Sender);
void __fastcall OrderComboChange(TObject *Sender);
void __fastcall SearchEdKeyPress(TObject *Sender, char &Key);
void __fastcall SearchEdChange(TObject *Sender);
private: // User declarations
TField *SrchFld;
double GetCustNo();
void SetCustNo(double NewCustNo);
double GetPartNo();
void SetPartNo(double NewPartNo);
public: // User declarations
virtual __fastcall TSearchDlg(TComponent* Owner);
__property double PartNo={read=GetPartNo,write=SetPartNo};
__property double CustNo={read=GetCustNo,write=SetCustNo};
int ShowModalCust();
int ShowModalParts();
};
//---------------------------------------------------------------------------
extern TSearchDlg *SearchDlg;
//---------------------------------------------------------------------------
#endif