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

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

#ifndef SMFormatHPP
#define SMFormatHPP

#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.ExtCtrls.hpp>
#include <Vcl.StdCtrls.hpp>
#include <Vcl.ComCtrls.hpp>

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

namespace Smformat
{
//-- forward type declarations -----------------------------------------------
class DELPHICLASS TfrmFormat;
//-- type declarations -------------------------------------------------------
class PASCALIMPLEMENTATION TfrmFormat : public Vcl::Forms::TForm
{
	typedef Vcl::Forms::TForm inherited;
	
__published:
	Vcl::Stdctrls::TLabel* lblFormat;
	Vcl::Stdctrls::TEdit* edFormat;
	Vcl::Stdctrls::TRadioButton* rbCharacter;
	Vcl::Stdctrls::TRadioButton* rbNumber;
	Vcl::Stdctrls::TRadioButton* rbDateTime;
	Vcl::Extctrls::TBevel* bvlButtons;
	Vcl::Stdctrls::TButton* btnOk;
	Vcl::Stdctrls::TButton* btnCancel;
	Vcl::Extctrls::TImage* imgFormat;
	Vcl::Comctrls::TPageControl* pcFormat;
	Vcl::Comctrls::TTabSheet* tsString;
	Vcl::Comctrls::TTabSheet* tsNumber;
	Vcl::Comctrls::TTabSheet* tsCurrency;
	Vcl::Comctrls::TTabSheet* tsDate;
	Vcl::Comctrls::TTabSheet* tsTime;
	Vcl::Stdctrls::TCheckBox* cbBlankZero;
	Vcl::Stdctrls::TCheckBox* cbLeadingZeros;
	Vcl::Stdctrls::TCheckBox* cbScientific;
	Vcl::Stdctrls::TCheckBox* cbCurrencySign;
	Vcl::Stdctrls::TRadioButton* rbUpperCase;
	Vcl::Stdctrls::TRadioButton* rbLowerCase;
	Vcl::Stdctrls::TRadioButton* rbProperCase;
	Vcl::Stdctrls::TCheckBox* cbTrim;
	Vcl::Stdctrls::TGroupBox* gbSample;
	Vcl::Stdctrls::TLabel* lblSample;
	Vcl::Extctrls::TPanel* pnlNumber;
	Vcl::Stdctrls::TCheckBox* cbDefaultNumber;
	Vcl::Stdctrls::TLabel* lblDecimals;
	Vcl::Stdctrls::TComboBox* cbDecimals;
	Vcl::Stdctrls::TLabel* lblNegatives;
	Vcl::Stdctrls::TComboBox* cbNegatives;
	Vcl::Stdctrls::TEdit* edThousandSeparator;
	Vcl::Stdctrls::TLabel* lblDecimalSeparator;
	Vcl::Stdctrls::TEdit* edDecimalSeparator;
	Vcl::Extctrls::TPanel* pnlDate;
	Vcl::Stdctrls::TLabel* lblDateOrder;
	Vcl::Stdctrls::TLabel* lblDateSeparator;
	Vcl::Stdctrls::TComboBox* cbDateOrder;
	Vcl::Stdctrls::TEdit* edDateSeparator;
	Vcl::Stdctrls::TComboBox* cbDateType;
	Vcl::Stdctrls::TLabel* lblDateDay;
	Vcl::Stdctrls::TLabel* lblDateMonth;
	Vcl::Stdctrls::TLabel* lblDateYear;
	Vcl::Stdctrls::TComboBox* cbDateDay;
	Vcl::Stdctrls::TComboBox* cbDateMonth;
	Vcl::Stdctrls::TComboBox* cbDateYear;
	Vcl::Extctrls::TPanel* pnlTime;
	Vcl::Stdctrls::TLabel* lblAMPMPosition;
	Vcl::Stdctrls::TLabel* lblTimeSeparator;
	Vcl::Stdctrls::TComboBox* cbAMPMPosition;
	Vcl::Stdctrls::TEdit* edTimeSeparator;
	Vcl::Stdctrls::TRadioButton* rbHour12;
	Vcl::Stdctrls::TRadioButton* rbHour24;
	Vcl::Stdctrls::TLabel* lblStringAM;
	Vcl::Stdctrls::TEdit* edStringAM;
	Vcl::Stdctrls::TLabel* lblStringPM;
	Vcl::Stdctrls::TEdit* edStringPM;
	Vcl::Stdctrls::TLabel* lblTimeHour;
	Vcl::Stdctrls::TLabel* lblTimeMinute;
	Vcl::Stdctrls::TLabel* lblTimeSecond;
	Vcl::Stdctrls::TComboBox* cbTimeSecond;
	Vcl::Stdctrls::TComboBox* cbTimeMinute;
	Vcl::Stdctrls::TComboBox* cbTimeHour;
	Vcl::Stdctrls::TRadioButton* rbStringNone;
	Vcl::Stdctrls::TComboBox* cbTimeType;
	Vcl::Stdctrls::TCheckBox* cbThousands;
	Vcl::Stdctrls::TGroupBox* gbDateDW;
	Vcl::Stdctrls::TComboBox* cbDateDW;
	Vcl::Stdctrls::TLabel* lblDWSeparator;
	Vcl::Stdctrls::TEdit* edDWSeparator;
	Vcl::Stdctrls::TGroupBox* gbRoundBy;
	Vcl::Stdctrls::TComboBox* cbRoundBy;
	Vcl::Extctrls::TPanel* pnlCurrency;
	Vcl::Stdctrls::TLabel* lblCurrencySymbol;
	Vcl::Stdctrls::TLabel* lblCurrencyPosition1;
	Vcl::Stdctrls::TLabel* lblCurrencyPosition2;
	Vcl::Stdctrls::TComboBox* cbCurrencyPosition2;
	Vcl::Stdctrls::TComboBox* cbCurrencyPosition1;
	Vcl::Stdctrls::TEdit* edCurrencySymbol;
	Vcl::Stdctrls::TCheckBox* cbDefaultCurrency;
	Vcl::Stdctrls::TLabel* lblStrCustomMask;
	Vcl::Stdctrls::TEdit* edStrCustomMask;
	void __fastcall UpdateSample(System::TObject* Sender);
	void __fastcall rbCharacterClick(System::TObject* Sender);
	void __fastcall cbCurrencySignClick(System::TObject* Sender);
	void __fastcall cbDefaultNumberClick(System::TObject* Sender);
	void __fastcall cbDateTypeChange(System::TObject* Sender);
	void __fastcall btnOkClick(System::TObject* Sender);
	void __fastcall lblSampleClick(System::TObject* Sender);
	void __fastcall cbTimeTypeChange(System::TObject* Sender);
	void __fastcall FormShow(System::TObject* Sender);
	
private:
	void __fastcall SetSampleText();
	System::UnicodeString __fastcall GetFormatString();
	
protected:
	virtual void __fastcall FillStringsFromRes();
	
public:
	System::LongInt LangShift;
	void __fastcall SetFormat(System::UnicodeString strFormat);
	System::UnicodeString __fastcall GetFormat();
	void __fastcall UpdateStrings();
public:
	/* TCustomForm.Create */ inline __fastcall virtual TfrmFormat(System::Classes::TComponent* AOwner) : Vcl::Forms::TForm(AOwner) { }
	/* TCustomForm.CreateNew */ inline __fastcall virtual TfrmFormat(System::Classes::TComponent* AOwner, int Dummy) : Vcl::Forms::TForm(AOwner, Dummy) { }
	/* TCustomForm.CreateScaledNew */ inline __fastcall virtual TfrmFormat(System::Classes::TComponent* AOwner, int ADPI, int Dummy) : Vcl::Forms::TForm(AOwner, ADPI, Dummy) { }
	/* TCustomForm.Destroy */ inline __fastcall virtual ~TfrmFormat() { }
	
public:
	/* TWinControl.CreateParented */ inline __fastcall TfrmFormat(HWND ParentWindow) : Vcl::Forms::TForm(ParentWindow) { }
	
};


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

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