home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 October / Chip_2001-10_cd1.bin / zkuste / delphi / kompon / d123456 / CHEMPLOT.ZIP / TPlot / Ptedit.hpp < prev    next >
C/C++ Source or Header  |  2001-07-31  |  3KB  |  104 lines

  1. // Borland C++ Builder
  2. // Copyright (c) 1995, 1998 by Borland International
  3. // All rights reserved
  4.  
  5. // (DO NOT EDIT: machine generated header) 'Ptedit.pas' rev: 3.00
  6.  
  7. #ifndef PteditHPP
  8. #define PteditHPP
  9. #include <Slidebar.hpp>
  10. #include <Plotdefs.hpp>
  11. #include <Nedit.hpp>
  12. #include <Misc.hpp>
  13. #include <Axis.hpp>
  14. #include <StdCtrls.hpp>
  15. #include <Graphics.hpp>
  16. #include <Forms.hpp>
  17. #include <Controls.hpp>
  18. #include <ComCtrls.hpp>
  19. #include <Buttons.hpp>
  20. #include <Windows.hpp>
  21. #include <SysUtils.hpp>
  22. #include <Classes.hpp>
  23. #include <SysInit.hpp>
  24. #include <System.hpp>
  25.  
  26. //-- user supplied -----------------------------------------------------------
  27.  
  28. namespace Ptedit
  29. {
  30. //-- type declarations -------------------------------------------------------
  31. class DELPHICLASS TPointEditorForm;
  32. class PASCALIMPLEMENTATION TPointEditorForm : public Forms::TForm 
  33. {
  34.     typedef Forms::TForm inherited;
  35.     
  36. __published:
  37.     Buttons::TBitBtn* HelpBitBtn;
  38.     Buttons::TBitBtn* CancelBitBtn;
  39.     Buttons::TBitBtn* OKBitBtn;
  40.     Buttons::TBitBtn* DeleteBitBtn;
  41.     Buttons::TBitBtn* AddBitBtn;
  42.     Stdctrls::TGroupBox* DataGroupBox;
  43.     Stdctrls::TLabel* Label1;
  44.     Stdctrls::TLabel* YDataLabel;
  45.     Stdctrls::TGroupBox* ScreenGroupBox;
  46.     Stdctrls::TLabel* Label3;
  47.     Stdctrls::TLabel* YScreenLabel;
  48.     Stdctrls::TLabel* DetailsLabel;
  49.     Stdctrls::TEdit* XStringDataEdit;
  50.     Nedit::TNEdit* XScreenNEdit;
  51.     Nedit::TNEdit* YScreenNEdit;
  52.     Nedit::TNEdit* XDataNEdit;
  53.     Nedit::TNEdit* YDataNEdit;
  54.     Buttons::TBitBtn* ApplyBitBtn;
  55.     Slidebar::TSlideBar* PointSlideBar;
  56.     Stdctrls::TLabel* IndexLabel;
  57.     void __fastcall FormClose(System::TObject* Sender, Forms::TCloseAction &Action);
  58.     void __fastcall FormCreate(System::TObject* Sender);
  59.     void __fastcall CancelBitBtnClick(System::TObject* Sender);
  60.     void __fastcall PointSlideBarChange(System::TObject* Sender);
  61.     void __fastcall ApplyBitBtnClick(System::TObject* Sender);
  62.     void __fastcall XDataNEditKeyPress(System::TObject* Sender, char &Key);
  63.     void __fastcall XScreenNEditKeyPress(System::TObject* Sender, char &Key);
  64.     void __fastcall PointEditChange(System::TObject* Sender);
  65.     
  66. private:
  67.     Misc::TSingleArray *XData;
  68.     Misc::TSingleArray *YData;
  69.     Classes::TStringList* XStringData;
  70.     Axis::TAxis* XAxis;
  71.     Axis::TAxis* YAxis;
  72.     bool SpinLock;
  73.     
  74. public:
  75.     Nedit::TNEdit* PointNEdit;
  76.     Comctrls::TUpDown* PointUpDown;
  77.     System::TObject* TheSeries;
  78.     void __fastcall Init(Misc::pSingleArray FXData, Misc::pSingleArray FYData, Classes::TStringList* FXStringData
  79.         , Axis::TAxis* FXAxis, Axis::TAxis* FYAxisCurrent);
  80.     void __fastcall FillData(int ThePoint);
  81.     void __fastcall DoHintsFromResource(void);
  82. public:
  83.     /* TCustomForm.Create */ __fastcall virtual TPointEditorForm(Classes::TComponent* AOwner) : Forms::
  84.         TForm(AOwner) { }
  85.     /* TCustomForm.CreateNew */ __fastcall TPointEditorForm(Classes::TComponent* AOwner, int Dummy) : Forms::
  86.         TForm(AOwner, Dummy) { }
  87.     /* TCustomForm.Destroy */ __fastcall virtual ~TPointEditorForm(void) { }
  88.     
  89. public:
  90.     /* TWinControl.CreateParented */ __fastcall TPointEditorForm(HWND ParentWindow) : Forms::TForm(ParentWindow
  91.         ) { }
  92.     
  93. };
  94.  
  95. //-- var, const, procedure ---------------------------------------------------
  96. extern PACKAGE TPointEditorForm* PointNEditorForm;
  97.  
  98. }    /* namespace Ptedit */
  99. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  100. using namespace Ptedit;
  101. #endif
  102. //-- end unit ----------------------------------------------------------------
  103. #endif    // Ptedit
  104.