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

  1. //---------------------------------------------------------------------------
  2. // Borland C++Builder
  3. // Copyright (c) 1987, 1997 Borland International Inc.  All Rights Reserved.
  4. //---------------------------------------------------------------------------
  5. //---------------------------------------------------------------------------
  6. #ifndef PickRepH
  7. #define PickRepH
  8. //---------------------------------------------------------------------------
  9. #include <vcl\Classes.hpp>
  10. #include <vcl\Controls.hpp>
  11. #include <vcl\StdCtrls.hpp>
  12. #include <vcl\Forms.hpp>
  13. #include <vcl\DBGrids.hpp>
  14. #include <vcl\Grids.hpp>
  15. //---------------------------------------------------------------------------
  16. class TPickOrdDlg : public TForm
  17. {
  18. __published:    // IDE-managed Components
  19.         TDBGrid *OrderGrid;
  20.         TButton *OkBtn;
  21.         TButton *CancelBtn;
  22.         void __fastcall OrderGridDblClick(TObject *Sender);
  23.         
  24.         void __fastcall OkBtnClick(TObject *Sender);
  25.         void __fastcall FormShow(TObject *Sender);
  26. private:    // User declarations
  27.         long OrderNo;
  28.         void SetOrderNo(long);
  29.         long GetOrderNo();
  30. public:        // User declarations
  31.     virtual __fastcall TPickOrdDlg(TComponent* Owner);
  32.         __property long OrderNumber={read=GetOrderNo,write=SetOrderNo};
  33.  
  34. };
  35. //---------------------------------------------------------------------------
  36. extern TPickOrdDlg *PickOrdDlg;
  37. //---------------------------------------------------------------------------
  38. #endif
  39.