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

  1. //---------------------------------------------------------------------------
  2. // Borland C++Builder
  3. // Copyright (c) 1987, 1997 Borland International Inc.  All Rights Reserved.
  4. //---------------------------------------------------------------------------
  5. //---------------------------------------------------------------------------
  6. #ifndef pickdateH
  7. #define pickdateH
  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. #include <vcl\Grids.hpp>
  16. #include "sampreg.h"
  17. //---------------------------------------------------------------------------
  18. class TBrDateForm : public TForm
  19. {
  20. __published:    // IDE-managed Components
  21.     TButton *OkBtn;
  22.     TButton *CancelBtn;
  23.     TBevel *Bevel1;
  24.     TLabel *TitleLabel;
  25.     TSpeedButton *PrevMonthBtn;
  26.     TSpeedButton *NextMonthBtn;
  27.         TCalendar *Calendar1;
  28.     void __fastcall PrevMonthBtnClick(TObject *Sender);
  29.     void __fastcall NextMonthBtnClick(TObject *Sender);
  30.     void __fastcall Calendar1Change(TObject *Sender);
  31.         
  32.         
  33. private:    // User declarations
  34.     void SetDate(TDateTime Date);
  35.     TDateTime GetDate();
  36. public:        // User declarations
  37.     __property TDateTime Date={read=GetDate,write=SetDate};
  38.     virtual __fastcall TBrDateForm(TComponent* Owner);
  39. };
  40. //---------------------------------------------------------------------------
  41. extern TBrDateForm *BrDateForm;
  42. //---------------------------------------------------------------------------
  43. #endif
  44.