Stype.h
Upload User: xgxgxg8
Upload Date: 2007-02-22
Package Size: 6882k
Code Size: 2k
Development Platform:

Delphi

  1. //---------------------------------------------------------------------------
  2. #ifndef StypeH
  3. #define StypeH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include "fpanel.h"
  10. #include "RecBaseForm.h"
  11. #include "SDEdit.h"
  12. #include "SDGrid.h"
  13. #include <ComCtrls.hpp>
  14. #include <Grids.hpp>
  15. #include <ImgList.hpp>
  16. #include <Menus.hpp>
  17. #include <ToolWin.hpp>
  18. #include <Dialogs.hpp>
  19. //---------------------------------------------------------------------------
  20. class PACKAGE TfrmStype;
  21. class  TfrmStype : public TRecBaseForm
  22. {
  23. __published: // IDE-managed Components
  24.     TSDGrid *sgStype;
  25.     TFloatPanel *FloatPanel1;
  26.     TSDEdit *seStypeCode;
  27.     TSDEdit *seStypeName;
  28.     TSDEdit *seStypeDesc;
  29.     TLabel *Label1;
  30.     TLabel *Label2;
  31.     TLabel *Label3;
  32.     void __fastcall FormShow(TObject *Sender);
  33.         void __fastcall sgStypeClick(TObject *Sender);
  34. private: // User declarations
  35.     void __fastcall ClearControl(bool BringToNext);
  36.     void __fastcall GetDataFromComObject();
  37.     void __fastcall SendDataToComObject();
  38.     void __fastcall WaitUserInput();
  39.     AnsiString __fastcall GetDataToGrid();
  40.     void __fastcall RefreshGridData(int mAction);
  41.     void __fastcall FillGridWithData();
  42.     void __fastcall InitEditControl();
  43. public: // User declarations
  44.     __fastcall TfrmStype(TComponent* Owner, HWND chWnd, AnsiString MidCode,AnsiString WhereStr);
  45. };
  46. //---------------------------------------------------------------------------
  47. extern PACKAGE TfrmStype *frmStype;
  48. //---------------------------------------------------------------------------
  49. #endif