// CodeGear C++Builder
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
// All rights reserved

// (DO NOT EDIT: machine generated header) 'SMEditDS.pas' rev: 37.00 (Windows)

#ifndef SMEditDSHPP
#define SMEditDSHPP

#pragma delphiheader begin
#pragma option push
#if defined(__BORLANDC__) && !defined(__clang__)
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member 
#endif
#pragma pack(push,8)
#include <System.hpp>
#include <SysInit.hpp>
#include <Winapi.Windows.hpp>
#include <Winapi.Messages.hpp>
#include <System.SysUtils.hpp>
#include <System.Classes.hpp>
#include <Vcl.Graphics.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.Forms.hpp>
#include <Vcl.Dialogs.hpp>
#include <Vcl.StdCtrls.hpp>
#include <Vcl.ExtCtrls.hpp>
#include <Data.DB.hpp>

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

namespace Smeditds
{
//-- forward type declarations -----------------------------------------------
class DELPHICLASS TfrmEditDS;
//-- type declarations -------------------------------------------------------
class PASCALIMPLEMENTATION TfrmEditDS : public Vcl::Forms::TForm
{
	typedef Vcl::Forms::TForm inherited;
	
__published:
	Vcl::Stdctrls::TLabel* lblDSName;
	Vcl::Stdctrls::TEdit* edDSName;
	Vcl::Extctrls::TBevel* bvlButton;
	Vcl::Stdctrls::TButton* btnOk;
	Vcl::Stdctrls::TButton* btnCancel;
	Vcl::Extctrls::TRadioGroup* rgDSType;
	Vcl::Stdctrls::TLabel* lblDBName;
	Vcl::Stdctrls::TComboBox* cbDBName;
	Vcl::Stdctrls::TButton* btnDirectory;
	Vcl::Stdctrls::TGroupBox* gbTable;
	Vcl::Stdctrls::TLabel* lblTableName;
	Vcl::Stdctrls::TComboBox* cbTables;
	Vcl::Stdctrls::TLabel* lblIndices;
	Vcl::Stdctrls::TComboBox* cbIndices;
	Vcl::Stdctrls::TGroupBox* gbQuery;
	Vcl::Stdctrls::TMemo* memoSQL;
	Vcl::Stdctrls::TLabel* lblFilter;
	Vcl::Stdctrls::TEdit* edFilter;
	Vcl::Stdctrls::TButton* btnQueryBuilder;
	void __fastcall rgDSTypeClick(System::TObject* Sender);
	void __fastcall FormCreate(System::TObject* Sender);
	void __fastcall cbDBNameChange(System::TObject* Sender);
	void __fastcall btnDirectoryClick(System::TObject* Sender);
	void __fastcall cbTablesClick(System::TObject* Sender);
	void __fastcall FormDestroy(System::TObject* Sender);
	void __fastcall btnOkClick(System::TObject* Sender);
	void __fastcall FormActivate(System::TObject* Sender);
	
private:
	System::TObject* FDS;
	void __fastcall SetDS(System::TObject* Value);
	
public:
	System::Classes::TComponent* repComponent;
	__property System::TObject* DS = {read=FDS, write=SetDS};
public:
	/* TCustomForm.Create */ inline __fastcall virtual TfrmEditDS(System::Classes::TComponent* AOwner) : Vcl::Forms::TForm(AOwner) { }
	/* TCustomForm.CreateNew */ inline __fastcall virtual TfrmEditDS(System::Classes::TComponent* AOwner, int Dummy) : Vcl::Forms::TForm(AOwner, Dummy) { }
	/* TCustomForm.CreateScaledNew */ inline __fastcall virtual TfrmEditDS(System::Classes::TComponent* AOwner, int ADPI, int Dummy) : Vcl::Forms::TForm(AOwner, ADPI, Dummy) { }
	/* TCustomForm.Destroy */ inline __fastcall virtual ~TfrmEditDS() { }
	
public:
	/* TWinControl.CreateParented */ inline __fastcall TfrmEditDS(HWND ParentWindow) : Vcl::Forms::TForm(ParentWindow) { }
	
};


//-- var, const, procedure ---------------------------------------------------
extern DELPHI_PACKAGE TfrmEditDS* frmEditDS;
extern DELPHI_PACKAGE int __fastcall GetFieldCount(System::TObject* DS);
extern DELPHI_PACKAGE System::UnicodeString __fastcall GetFieldDescription(System::TObject* DS, int i);
}	/* namespace Smeditds */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_SMEDITDS)
using namespace Smeditds;
#endif
#pragma pack(pop)
#pragma option pop

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