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

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

#ifndef SMRExplHPP
#define SMRExplHPP

#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.ComCtrls.hpp>
#include <SMRCnst.hpp>
#include <Vcl.ExtCtrls.hpp>
#include <Vcl.Menus.hpp>
#include <System.UITypes.hpp>
#include <SMRBase.hpp>
#include <SMRDMan.hpp>

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

namespace Smrexpl
{
//-- forward type declarations -----------------------------------------------
class DELPHICLASS TfrmSMRExplorer;
//-- type declarations -------------------------------------------------------
class PASCALIMPLEMENTATION TfrmSMRExplorer : public Vcl::Forms::TForm
{
	typedef Vcl::Forms::TForm inherited;
	
__published:
	Vcl::Controls::TImageList* ImgLstSMR;
	Vcl::Comctrls::TPageControl* pcTreeType;
	Vcl::Comctrls::TTabSheet* tsReportStructure;
	Vcl::Comctrls::TTabSheet* tsDataSources;
	Vcl::Comctrls::TTabSheet* tsVariables;
	Vcl::Comctrls::TTreeView* tvReportStructure;
	Vcl::Comctrls::TTreeView* tvDataSources;
	Vcl::Comctrls::TTreeView* tvVariables;
	Vcl::Extctrls::TPanel* pnlDSBtn;
	Vcl::Stdctrls::TButton* btnDSAdd;
	Vcl::Stdctrls::TButton* btnDSEdit;
	Vcl::Stdctrls::TButton* btnDSDelete;
	Vcl::Extctrls::TPanel* pnlVarBtn;
	Vcl::Stdctrls::TButton* btnVarAdd;
	Vcl::Stdctrls::TButton* btnVarEdit;
	Vcl::Stdctrls::TButton* btnVarDelete;
	Vcl::Menus::TPopupMenu* pmDS;
	Vcl::Menus::TPopupMenu* pmVariable;
	Vcl::Menus::TPopupMenu* pmReport;
	void __fastcall tvReportStructureDragOver(System::TObject* Sender, System::TObject* Source, int X, int Y, System::Uitypes::TDragState State, bool &Accept);
	void __fastcall tvReportStructureDragDrop(System::TObject* Sender, System::TObject* Source, int X, int Y);
	void __fastcall btnDSEditClick(System::TObject* Sender);
	void __fastcall FormHide(System::TObject* Sender);
	void __fastcall FormShow(System::TObject* Sender);
	void __fastcall tvDataSourcesChange(System::TObject* Sender, Vcl::Comctrls::TTreeNode* Node);
	void __fastcall btnDSDeleteClick(System::TObject* Sender);
	void __fastcall tvReportStructureChange(System::TObject* Sender, Vcl::Comctrls::TTreeNode* Node);
	void __fastcall btnVarAddClick(System::TObject* Sender);
	void __fastcall tvVariablesChange(System::TObject* Sender, Vcl::Comctrls::TTreeNode* Node);
	void __fastcall FormCreate(System::TObject* Sender);
	void __fastcall FormDestroy(System::TObject* Sender);
	void __fastcall btnVarDeleteClick(System::TObject* Sender);
	void __fastcall pmDSPopup(System::TObject* Sender);
	void __fastcall pmVariablePopup(System::TObject* Sender);
	void __fastcall pmReportPopup(System::TObject* Sender);
	
private:
	void __fastcall SetNodeState(Vcl::Comctrls::TTreeNode* node, int Flags);
	void __fastcall RSDelete(System::TObject* Sender);
	void __fastcall RSSelect(System::TObject* Sender);
	void __fastcall QueryBuilderOpen(System::TObject* Sender);
	
public:
	System::LongInt LangShift;
	Smrdman::TSMRDataManager* DataManager;
	System::Classes::TStrings* lstGroups;
	System::Classes::TCollection* lstVariables;
	System::Classes::TCollection* lstParameters;
	System::Classes::TComponent* repComponent;
	virtual void __fastcall FillStringsFromRes();
	void __fastcall SetNodeBold(Vcl::Comctrls::TTreeNode* node);
	void __fastcall SetNodeCut(Vcl::Comctrls::TTreeNode* node);
	void __fastcall SetNodeBoldCut(Vcl::Comctrls::TTreeNode* node);
	void __fastcall SetNodeNone(Vcl::Comctrls::TTreeNode* node);
	void __fastcall AddDS(System::TObject* ds, int intData);
	Vcl::Comctrls::TTreeNode* __fastcall FindBandNode(Smrbase::TSMRBand* band);
	void __fastcall SelectComponent(System::Classes::TComponent* comp);
public:
	/* TCustomForm.Create */ inline __fastcall virtual TfrmSMRExplorer(System::Classes::TComponent* AOwner) : Vcl::Forms::TForm(AOwner) { }
	/* TCustomForm.CreateNew */ inline __fastcall virtual TfrmSMRExplorer(System::Classes::TComponent* AOwner, int Dummy) : Vcl::Forms::TForm(AOwner, Dummy) { }
	/* TCustomForm.CreateScaledNew */ inline __fastcall virtual TfrmSMRExplorer(System::Classes::TComponent* AOwner, int ADPI, int Dummy) : Vcl::Forms::TForm(AOwner, ADPI, Dummy) { }
	/* TCustomForm.Destroy */ inline __fastcall virtual ~TfrmSMRExplorer() { }
	
public:
	/* TWinControl.CreateParented */ inline __fastcall TfrmSMRExplorer(HWND ParentWindow) : Vcl::Forms::TForm(ParentWindow) { }
	
};


//-- var, const, procedure ---------------------------------------------------
static _DELPHI_CONST System::Word WM_MOVEDCONTROL = System::Word(0x2b12);
}	/* namespace Smrexpl */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_SMREXPL)
using namespace Smrexpl;
#endif
#pragma pack(pop)
#pragma option pop

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