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

  1. //----------------------------------------------------------------------------
  2. // DSAttrS.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
  3. // From: DSAttrS.pas
  4. //----------------------------------------------------------------------------
  5. #ifndef DSAttrSHPP
  6. #define DSAttrSHPP
  7. //----------------------------------------------------------------------------
  8. #include <LibHelp.hpp>
  9. #include <DRIntf.hpp>
  10. #include <StdCtrls.hpp>
  11. #include <ExtCtrls.hpp>
  12. #include <Dialogs.hpp>
  13. #include <Forms.hpp>
  14. #include <Controls.hpp>
  15. #include <Graphics.hpp>
  16. #include <Classes.hpp>
  17. #include <Messages.hpp>
  18. #include <Windows.hpp>
  19. #include <SysUtils.hpp>
  20. #include <System.hpp>
  21. #pragma warn -par
  22. #pragma warn -hid 
  23. #pragma warn -inl
  24.  
  25. namespace Dsattrs
  26. {
  27. //-- type declarations -------------------------------------------------------
  28. class __declspec(delphiclass) TSaveAttributesAs;
  29. class __declspec(pascalimplementation) TSaveAttributesAs : public Forms::TForm
  30. {
  31.     typedef Forms::TForm inherited;
  32.     
  33. __published:
  34.     Stdctrls::TComboBox* BasedOnList;
  35.     Stdctrls::TEdit* AttributeNameEdit;
  36.     Stdctrls::TLabel* Label1;
  37.     Stdctrls::TLabel* Label2;
  38.     Stdctrls::TButton* OKBtn;
  39.     Extctrls::TBevel* Bevel1;
  40.     Stdctrls::TButton* CancelBtn;
  41.     Stdctrls::TButton* HelpBtn;
  42.     void __fastcall OKBtnClick(System::TObject* Sender);
  43.     void __fastcall CancelBtnClick(System::TObject* Sender);
  44.     void __fastcall HelpBtnClick(System::TObject* Sender);
  45.     void __fastcall FormCreate(System::TObject* Sender);
  46.     
  47. private:
  48.     void __fastcall AddToList(const System::AnsiString Value);
  49.     
  50. public:
  51.     bool __fastcall Execute(const System::AnsiString TableName, const System::AnsiString FieldName,  System::AnsiString &
  52.         AttributesName, Drintf::TAttrID &BasedOnID);
  53. public:
  54.     /* TForm.Create */ __fastcall virtual TSaveAttributesAs(Classes::TComponent* AOwner) : Forms::TForm(
  55.         AOwner) { }
  56.     /* TForm.CreateNew */ __fastcall TSaveAttributesAs(Classes::TComponent* AOwner, int Dummy) : Forms::
  57.         TForm(AOwner, Dummy) { }
  58.     /* TForm.Destroy */ __fastcall virtual ~TSaveAttributesAs(void) { }
  59.     
  60. public:
  61.     /* TWinControl.CreateParented */ __fastcall TSaveAttributesAs(HWND ParentWindow) : Forms::TForm(ParentWindow
  62.         ) { }
  63.     
  64. };
  65.  
  66. //-- var, const, procedure ---------------------------------------------------
  67. extern bool __fastcall SaveAttributesAsDlg(const System::AnsiString TableName, const System::AnsiString 
  68.     FieldName,  System::AnsiString &Name, Drintf::TAttrID &BasedOnID);
  69.  
  70. }    /* namespace Dsattrs */
  71.  
  72. #pragma warn .par
  73. #pragma warn .hid 
  74. #pragma warn .inl
  75.  
  76. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  77. using namespace Dsattrs;
  78. #endif
  79. //-- end unit ----------------------------------------------------------------
  80. #endif    // DSAttrS
  81.