// Borland C++ Builder
// Copyright (c) 1995, 2005 by Borland Software Corporation
// All rights reserved

// (DO NOT EDIT: machine generated header) 'Dsattrs.pas' rev: 10.00

#ifndef DsattrsHPP
#define DsattrsHPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member functions
#pragma pack(push,8)
#include <System.hpp>	// Pascal unit
#include <Sysinit.hpp>	// Pascal unit
#include <Sysutils.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <Messages.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Forms.hpp>	// Pascal unit
#include <Dialogs.hpp>	// Pascal unit
#include <Extctrls.hpp>	// Pascal unit
#include <Stdctrls.hpp>	// Pascal unit
#include <Drintf.hpp>	// Pascal unit
#include <Libhelp.hpp>	// Pascal unit

//-- user supplied -----------------------------------------------------------

namespace Dsattrs
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TSaveAttributesAs;
class PASCALIMPLEMENTATION TSaveAttributesAs : public Forms::TForm 
{
	typedef Forms::TForm inherited;
	
__published:
	Stdctrls::TComboBox* BasedOnList;
	Stdctrls::TEdit* AttributeNameEdit;
	Stdctrls::TLabel* Label1;
	Stdctrls::TLabel* Label2;
	Stdctrls::TButton* OKBtn;
	Extctrls::TBevel* Bevel1;
	Stdctrls::TButton* CancelBtn;
	Stdctrls::TButton* HelpBtn;
	void __fastcall OKBtnClick(System::TObject* Sender);
	void __fastcall CancelBtnClick(System::TObject* Sender);
	void __fastcall HelpBtnClick(System::TObject* Sender);
	void __fastcall FormCreate(System::TObject* Sender);
	
private:
	void __fastcall AddToList(const AnsiString Value);
	
public:
	bool __fastcall Execute(const AnsiString TableName, const AnsiString FieldName, AnsiString &AttributesName, Drintf::TAttrID &BasedOnID);
public:
	#pragma option push -w-inl
	/* TCustomForm.Create */ inline __fastcall virtual TSaveAttributesAs(Classes::TComponent* AOwner) : Forms::TForm(AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TCustomForm.CreateNew */ inline __fastcall virtual TSaveAttributesAs(Classes::TComponent* AOwner, int Dummy) : Forms::TForm(AOwner, Dummy) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TCustomForm.Destroy */ inline __fastcall virtual ~TSaveAttributesAs(void) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TWinControl.CreateParented */ inline __fastcall TSaveAttributesAs(HWND ParentWindow) : Forms::TForm(ParentWindow) { }
	#pragma option pop
	
};


//-- var, const, procedure ---------------------------------------------------
extern PACKAGE bool __fastcall SaveAttributesAsDlg(const AnsiString TableName, const AnsiString FieldName, AnsiString &Name, Drintf::TAttrID &BasedOnID);

}	/* namespace Dsattrs */
using namespace Dsattrs;
#pragma pack(pop)
#pragma option pop

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// Dsattrs
