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

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

#ifndef SMExprHPP
#define SMExprHPP

#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 <SMCntrl.hpp>
#include <Vcl.ExtCtrls.hpp>
#include <Vcl.StdCtrls.hpp>
#include <Vcl.ComCtrls.hpp>
#include <SMCombo.hpp>
#include <Vcl.Grids.hpp>
#include <ColorBtn.hpp>
#include <SMRTypes.hpp>
#include <SMRBase.hpp>
#include <SMREdit.hpp>

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

namespace Smexpr
{
//-- forward type declarations -----------------------------------------------
class DELPHICLASS TfrmExpression;
//-- type declarations -------------------------------------------------------
class PASCALIMPLEMENTATION TfrmExpression : public Smcntrl::TfrmControl
{
	typedef Smcntrl::TfrmControl inherited;
	
__published:
	Vcl::Extctrls::TPanel* pnlExpression;
	Vcl::Stdctrls::TLabel* lblExpression;
	Vcl::Stdctrls::TLabel* lblFormat;
	Vcl::Stdctrls::TEdit* edExpression;
	Vcl::Stdctrls::TEdit* edFormat;
	Vcl::Stdctrls::TGroupBox* gbSizes;
	Vcl::Stdctrls::TLabel* lblAngle;
	Vcl::Stdctrls::TCheckBox* cbStretch;
	Vcl::Stdctrls::TCheckBox* cbWordWrap;
	Vcl::Stdctrls::TEdit* edAngle;
	Vcl::Stdctrls::TButton* btnCalculation;
	Vcl::Stdctrls::TComboBox* cbExpression;
	Vcl::Stdctrls::TButton* btnFormatName;
	Vcl::Stdctrls::TButton* btnExpressionName;
	void __fastcall btnFormatClick(System::TObject* Sender);
	void __fastcall btnCalculationClick(System::TObject* Sender);
	void __fastcall btnExpressionClick(System::TObject* Sender);
	void __fastcall cbExpressionChange(System::TObject* Sender);
	void __fastcall cbExpressionEnter(System::TObject* Sender);
	HIDESBASE void __fastcall FormCreate(System::TObject* Sender);
	HIDESBASE void __fastcall FormDestroy(System::TObject* Sender);
	
private:
	int oldSD;
	
protected:
	virtual void __fastcall FillStringsFromRes();
	
public:
	Smrtypes::TSMRCalculation* FCalc;
	virtual void __fastcall BeforeEditProperties();
	virtual void __fastcall AfterEditProperties();
public:
	/* TCustomForm.Create */ inline __fastcall virtual TfrmExpression(System::Classes::TComponent* AOwner) : Smcntrl::TfrmControl(AOwner) { }
	/* TCustomForm.CreateNew */ inline __fastcall virtual TfrmExpression(System::Classes::TComponent* AOwner, int Dummy) : Smcntrl::TfrmControl(AOwner, Dummy) { }
	/* TCustomForm.CreateScaledNew */ inline __fastcall virtual TfrmExpression(System::Classes::TComponent* AOwner, int ADPI, int Dummy) : Smcntrl::TfrmControl(AOwner, ADPI, Dummy) { }
	/* TCustomForm.Destroy */ inline __fastcall virtual ~TfrmExpression() { }
	
public:
	/* TWinControl.CreateParented */ inline __fastcall TfrmExpression(HWND ParentWindow) : Smcntrl::TfrmControl(ParentWindow) { }
	
};


//-- var, const, procedure ---------------------------------------------------
}	/* namespace Smexpr */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_SMEXPR)
using namespace Smexpr;
#endif
#pragma pack(pop)
#pragma option pop

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