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

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

#ifndef SMGroupsHPP
#define SMGroupsHPP

#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 <System.UITypes.hpp>
#include <Vcl.ExtCtrls.hpp>
#include <Vcl.StdCtrls.hpp>
#include <SMRDMan.hpp>

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

namespace Smgroups
{
//-- forward type declarations -----------------------------------------------
class DELPHICLASS TfrmGroups;
class DELPHICLASS TGroup;
//-- type declarations -------------------------------------------------------
class PASCALIMPLEMENTATION TfrmGroups : public Vcl::Forms::TForm
{
	typedef Vcl::Forms::TForm inherited;
	
__published:
	Vcl::Stdctrls::TListBox* lbGroups;
	Vcl::Stdctrls::TButton* btnAdd;
	Vcl::Stdctrls::TButton* btnDelete;
	Vcl::Stdctrls::TButton* btnExit;
	Vcl::Extctrls::TBevel* bvlExit;
	Vcl::Extctrls::TImage* imgGroup;
	Vcl::Extctrls::TPanel* pnlProperties;
	Vcl::Stdctrls::TLabel* lblData;
	Vcl::Stdctrls::TComboBox* cbData;
	Vcl::Stdctrls::TCheckBox* cbStartNewPage;
	Vcl::Stdctrls::TCheckBox* cbRePrintHeader;
	Vcl::Stdctrls::TCheckBox* cbLessThan;
	Vcl::Stdctrls::TEdit* edLessThan;
	Vcl::Stdctrls::TButton* btnExpressionName;
	Vcl::Stdctrls::TCheckBox* cbNewPageIfNotFit;
	void __fastcall btnAddClick(System::TObject* Sender);
	void __fastcall btnDeleteClick(System::TObject* Sender);
	void __fastcall lbGroupsDragOver(System::TObject* Sender, System::TObject* Source, int X, int Y, System::Uitypes::TDragState State, bool &Accept);
	void __fastcall lbGroupsDragDrop(System::TObject* Sender, System::TObject* Source, int X, int Y);
	void __fastcall cbLessThanClick(System::TObject* Sender);
	void __fastcall cbStartNewPageClick(System::TObject* Sender);
	void __fastcall cbRePrintHeaderClick(System::TObject* Sender);
	void __fastcall edLessThanExit(System::TObject* Sender);
	void __fastcall lbGroupsClick(System::TObject* Sender);
	void __fastcall cbDataChange(System::TObject* Sender);
	void __fastcall FormActivate(System::TObject* Sender);
	void __fastcall btnExpressionNameClick(System::TObject* Sender);
	void __fastcall cbNewPageIfNotFitClick(System::TObject* Sender);
	void __fastcall FormCreate(System::TObject* Sender);
	
protected:
	virtual void __fastcall FillStringsFromRes();
	
public:
	bool Modified;
	System::LongInt LangShift;
	Smrdman::TSMRDataManager* FDataManager;
	System::Classes::TCollection* lstVariables;
	System::Classes::TCollection* lstParameters;
public:
	/* TCustomForm.Create */ inline __fastcall virtual TfrmGroups(System::Classes::TComponent* AOwner) : Vcl::Forms::TForm(AOwner) { }
	/* TCustomForm.CreateNew */ inline __fastcall virtual TfrmGroups(System::Classes::TComponent* AOwner, int Dummy) : Vcl::Forms::TForm(AOwner, Dummy) { }
	/* TCustomForm.CreateScaledNew */ inline __fastcall virtual TfrmGroups(System::Classes::TComponent* AOwner, int ADPI, int Dummy) : Vcl::Forms::TForm(AOwner, ADPI, Dummy) { }
	/* TCustomForm.Destroy */ inline __fastcall virtual ~TfrmGroups() { }
	
public:
	/* TWinControl.CreateParented */ inline __fastcall TfrmGroups(HWND ParentWindow) : Vcl::Forms::TForm(ParentWindow) { }
	
};


class PASCALIMPLEMENTATION TGroup : public System::TObject
{
	typedef System::TObject inherited;
	
public:
	System::Classes::TList* lstBands;
	bool boolNewPage;
	bool boolReprintHeader;
	double flLessThan;
	System::UnicodeString strExpression;
	bool boolNewPageIfNotFit;
public:
	/* TObject.Create */ inline __fastcall TGroup() : System::TObject() { }
	/* TObject.Destroy */ inline __fastcall virtual ~TGroup() { }
	
};


//-- var, const, procedure ---------------------------------------------------
extern DELPHI_PACKAGE TfrmGroups* frmGroups;
}	/* namespace Smgroups */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_SMGROUPS)
using namespace Smgroups;
#endif
#pragma pack(pop)
#pragma option pop

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