home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1997 May / Pcwk0597.iso / borland / cb / setup / cbuilder / data.z / QRYCUST.H < prev    next >
C/C++ Source or Header  |  1997-02-28  |  2KB  |  50 lines

  1. //---------------------------------------------------------------------------
  2. // Borland C++Builder
  3. // Copyright (c) 1987, 1997 Borland International Inc.  All Rights Reserved.
  4. //---------------------------------------------------------------------------
  5. //---------------------------------------------------------------------------
  6. #ifndef qrycustH
  7. #define qrycustH
  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\Buttons.hpp>
  15. //---------------------------------------------------------------------------
  16. class TQueryCustDlg : public TForm
  17. {
  18. __published:    // IDE-managed Components
  19.     TBevel *Bevel1;
  20.     TLabel *Label1;
  21.     TLabel *Label2;
  22.     TLabel *Msglab;
  23.     TEdit *FromEdit;
  24.     TEdit *ToEdit;
  25.     TButton *OkBtn;
  26.     TButton *CancelBtn;
  27.     TSpeedButton *PopupCalBtnFrom;
  28.     TSpeedButton *PopupCalToBtn;
  29.     void __fastcall OkBtnClick(TObject *Sender);
  30.     
  31.     
  32.     
  33.     void __fastcall PopupCalBtnFromClick(TObject *Sender);
  34.     void __fastcall PopupCalToBtnClick(TObject *Sender);
  35.     
  36. private:    // User declarations
  37.     TDateTime GetFromDate();
  38.     TDateTime GetToDate();
  39.     void SetFromDate(TDateTime NewDate);
  40.     void SetToDate(TDateTime NewDate);
  41. public:        // User declarations
  42.     virtual __fastcall TQueryCustDlg(TComponent* Owner);
  43.     __property TDateTime FromDate={read=GetFromDate,write=SetFromDate};
  44.     __property TDateTime ToDate={read=GetToDate,write=SetToDate};
  45. };
  46. //---------------------------------------------------------------------------
  47. extern TQueryCustDlg *QueryCustDlg;
  48. //---------------------------------------------------------------------------
  49. #endif
  50.