home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 April / Chip_1997-04_cd.bin / prezent / cb / data.z / QRYCUST.H < prev    next >
C/C++ Source or Header  |  1997-01-16  |  2KB  |  46 lines

  1. //---------------------------------------------------------------------------
  2. #ifndef qrycustH
  3. #define qrycustH
  4. //---------------------------------------------------------------------------
  5. #include <vcl\Classes.hpp>
  6. #include <vcl\Controls.hpp>
  7. #include <vcl\StdCtrls.hpp>
  8. #include <vcl\Forms.hpp>
  9. #include <vcl\ExtCtrls.hpp>
  10. #include <vcl\Buttons.hpp>
  11. //---------------------------------------------------------------------------
  12. class TQueryCustDlg : public TForm
  13. {
  14. __published:    // IDE-managed Components
  15.     TBevel *Bevel1;
  16.     TLabel *Label1;
  17.     TLabel *Label2;
  18.     TLabel *Msglab;
  19.     TEdit *FromEdit;
  20.     TEdit *ToEdit;
  21.     TButton *OkBtn;
  22.     TButton *CancelBtn;
  23.     TSpeedButton *PopupCalBtnFrom;
  24.     TSpeedButton *PopupCalToBtn;
  25.     void __fastcall OkBtnClick(TObject *Sender);
  26.     
  27.     
  28.     
  29.     void __fastcall PopupCalBtnFromClick(TObject *Sender);
  30.     void __fastcall PopupCalToBtnClick(TObject *Sender);
  31.     
  32. private:    // User declarations
  33.     TDateTime GetFromDate();
  34.     TDateTime GetToDate();
  35.     void SetFromDate(TDateTime NewDate);
  36.     void SetToDate(TDateTime NewDate);
  37. public:        // User declarations
  38.     virtual __fastcall TQueryCustDlg(TComponent* Owner);
  39.     __property TDateTime FromDate={read=GetFromDate,write=SetFromDate};
  40.     __property TDateTime ToDate={read=GetToDate,write=SetToDate};
  41. };
  42. //---------------------------------------------------------------------------
  43. extern TQueryCustDlg *QueryCustDlg;
  44. //---------------------------------------------------------------------------
  45. #endif
  46.