home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1997 May / VPR9705A.ISO / VPR_DATA / PROGRAM / CBTRIAL / SETUP / DATA.Z / BRPARTS.H < prev    next >
C/C++ Source or Header  |  1997-02-14  |  2KB  |  46 lines

  1. //---------------------------------------------------------------------------
  2. // Borland C++Builder
  3. // Copyright (c) 1987, 1997 Borland International Inc.  All Rights Reserved.
  4. //---------------------------------------------------------------------------
  5. //---------------------------------------------------------------------------
  6. #ifndef brpartsH
  7. #define brpartsH
  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\DBCtrls.hpp>
  15. #include <vcl\Buttons.hpp>
  16. #include <vcl\DBGrids.hpp>
  17. #include <vcl\Grids.hpp>
  18. //---------------------------------------------------------------------------
  19. class TBrPartsForm : public TForm
  20. {
  21. __published:    // IDE-managed Components
  22.     TPanel *Panel1;
  23.     TDBNavigator *DBNavigator1;
  24.     TButton *EditBtn;
  25.     TSpeedButton *ActivateBtn;
  26.     TPanel *Panel2;
  27.     TButton *CloseBtn;
  28.     TDBGrid *PartsGrid;
  29.     TBevel *Bevel1;
  30.     void __fastcall EditBtnClick(TObject *Sender);
  31.     void __fastcall CloseBtnClick(TObject *Sender);
  32.     void __fastcall ActivateQuery(TObject *Sender);
  33.     void __fastcall FormShow(TObject *Sender);
  34. private:    // User declarations
  35.     double FPartNo;
  36.     double GetPartNo();
  37.     void SetPartNo(double);
  38.  public:        // User declarations
  39.     __property Double PartNo={read=GetPartNo,write=SetPartNo};
  40.     virtual __fastcall TBrPartsForm(TComponent* Owner);
  41. };
  42. //---------------------------------------------------------------------------
  43. extern TBrPartsForm *BrPartsForm;
  44. //---------------------------------------------------------------------------
  45. #endif
  46.