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

// (DO NOT EDIT: machine generated header) 'DesignGrid.pas' rev: 22.00

#ifndef DesigngridHPP
#define DesigngridHPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member functions
#pragma pack(push,8)
#include <System.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <Messages.hpp>	// Pascal unit
#include <SysUtils.hpp>	// Pascal unit
#include <Variants.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Forms.hpp>	// Pascal unit
#include <Dialogs.hpp>	// Pascal unit
#include <AnyGrids.hpp>	// Pascal unit
#include <ExtCtrls.hpp>	// Pascal unit
#include <StdCtrls.hpp>	// Pascal unit
#include <Buttons.hpp>	// Pascal unit
#include <ExtDlgs.hpp>	// Pascal unit
#include <InspForm.hpp>	// Pascal unit
#include <ImgList.hpp>	// Pascal unit
#include <ComCtrls.hpp>	// Pascal unit
#include <ToolWin.hpp>	// Pascal unit
#include <GraphiEdit.hpp>	// Pascal unit
#include <AnyDialogs.hpp>	// Pascal unit
#include <AnyFlatEdit.hpp>	// Pascal unit
#include <Menus.hpp>	// Pascal unit
#include <DropDownButton.hpp>	// Pascal unit
#include <AnyFlatCombo.hpp>	// Pascal unit
#include <MultiMon.hpp>	// Pascal unit
#include <AnyPrint.hpp>	// Pascal unit
#include <AnyRichEdit.hpp>	// Pascal unit
#include <Inspector.hpp>	// Pascal unit
#include <CommDlg.hpp>	// Pascal unit
#include <MaskEdt.hpp>	// Pascal unit
#include <Consts.hpp>	// Pascal unit

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

namespace Designgrid
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TfrmDesign;
class PASCALIMPLEMENTATION TfrmDesign : public Forms::TForm
{
	typedef Forms::TForm inherited;
	
private:
	typedef System::DynamicArray<System::Variant> _TfrmDesign__1;
	
	
__published:
	Comctrls::TCoolBar* CoolBar1;
	Comctrls::TToolBar* ToolBar1;
	Comctrls::TToolButton* btnInsertRow;
	Comctrls::TToolButton* btnAppendRow;
	Comctrls::TToolButton* btnDelRow;
	Comctrls::TToolButton* btnInsertCol;
	Comctrls::TToolButton* btnAppendCol;
	Comctrls::TToolButton* btnDelCol;
	Comctrls::TToolButton* btnMerge;
	Comctrls::TToolButton* btnShowPro;
	Comctrls::TToolButton* btnOK;
	Comctrls::TToolButton* ToolButton10;
	Comctrls::TToolButton* btnLineOK;
	Comctrls::TToolButton* ToolButton12;
	Comctrls::TToolButton* btnCancel;
	Comctrls::TToolButton* ToolButton14;
	Controls::TImageList* ImageList1;
	Comctrls::TToolButton* btnAllFrame;
	Comctrls::TToolButton* btnFrame;
	Comctrls::TToolButton* btnNoFrame;
	Comctrls::TToolButton* btnOpen;
	Comctrls::TToolButton* btnSave;
	Dialogs::TSaveDialog* SaveGrid_;
	Comctrls::TToolButton* btnExport;
	Extctrls::TPanel* Panel1;
	Comctrls::TProgressBar* ProgressBar;
	Comctrls::TToolButton* btnImport;
	Dialogs::TSaveDialog* ExportDialog_;
	Dialogs::TOpenDialog* ImportDialog_;
	Comctrls::TToolBar* ToolBar2;
	Comctrls::TToolButton* btnCopy;
	Comctrls::TToolButton* btnPaste;
	Comctrls::TToolButton* ToolButton2;
	Comctrls::TToolButton* ToolButton3;
	Comctrls::TToolButton* ToolButton4;
	Dialogs::TOpenDialog* OpenGrid_;
	Comctrls::TToolButton* ToolButton1;
	Extctrls::TPanel* Panel3;
	Extctrls::TPanel* Panel2;
	Stdctrls::TLabel* lblRowHeight;
	Stdctrls::TLabel* lblColWidth;
	Extctrls::TBevel* Bevel1;
	Buttons::TSpeedButton* btnBold;
	Buttons::TSpeedButton* btnItalic;
	Buttons::TSpeedButton* btnUnderLine;
	Extctrls::TBevel* Bevel2;
	Buttons::TSpeedButton* btnLeftJustify;
	Buttons::TSpeedButton* btnCenter;
	Buttons::TSpeedButton* btnRightJustify;
	Extctrls::TBevel* Bevel3;
	Extctrls::TBevel* Bevel4;
	Comctrls::TToolButton* btnPrint;
	Comctrls::TToolButton* ToolButton6;
	Comctrls::TToolButton* ToolButton5;
	Comctrls::TToolButton* ToolButton7;
	Comctrls::TToolButton* ToolButton8;
	Menus::TMainMenu* MainMenu2;
	Menus::TMenuItem* menFile;
	Menus::TMenuItem* menOpen;
	Menus::TMenuItem* menImport;
	Menus::TMenuItem* N8;
	Menus::TMenuItem* menSave;
	Menus::TMenuItem* menExport;
	Menus::TMenuItem* N10;
	Menus::TMenuItem* menOK;
	Menus::TMenuItem* menCancel;
	Menus::TMenuItem* menLineOK;
	Menus::TMenuItem* menEdit;
	Menus::TMenuItem* menCopy;
	Menus::TMenuItem* menPaste;
	Menus::TMenuItem* N12;
	Menus::TMenuItem* menMerge;
	Menus::TMenuItem* N13;
	Menus::TMenuItem* menPrint;
	Menus::TMenuItem* menPreview;
	Menus::TMenuItem* N14;
	Menus::TMenuItem* menInsertRow;
	Menus::TMenuItem* menInsertCol;
	Menus::TMenuItem* menAppendRow;
	Menus::TMenuItem* menAppendCol;
	Menus::TMenuItem* N15;
	Menus::TMenuItem* menDeleteRow;
	Menus::TMenuItem* menDeleteCol;
	Menus::TMenuItem* N16;
	Menus::TMenuItem* menAllFrame;
	Menus::TMenuItem* menOutFrame;
	Menus::TMenuItem* menNonFrame;
	Menus::TMenuItem* menView;
	Menus::TMenuItem* menInspector;
	Menus::TMenuItem* menInsert;
	Menus::TMenuItem* menInsertGraphic;
	Menus::TMenuItem* menInsertOle;
	Menus::TMenuItem* menUnMerge;
	Menus::TMenuItem* menDeleteOle;
	Menus::TPopupMenu* ppmInsertRow;
	Menus::TMenuItem* menInsertOneRow;
	Menus::TMenuItem* menInsertRows;
	Menus::TPopupMenu* ppmAppendRow;
	Menus::TMenuItem* menAddOneRow;
	Menus::TMenuItem* menAddRows;
	Menus::TPopupMenu* ppmInsertCol;
	Menus::TMenuItem* menInsertOneCol;
	Menus::TMenuItem* menInsertCols;
	Menus::TPopupMenu* ppmAppendCol;
	Menus::TMenuItem* menAddOneCol;
	Menus::TMenuItem* menAddCols;
	Menus::TMenuItem* menInsertARow;
	Menus::TMenuItem* menInsertMoreRow;
	Menus::TMenuItem* menAddARow;
	Menus::TMenuItem* menAddMoreRow;
	Menus::TMenuItem* menInsertACol;
	Menus::TMenuItem* menInsertMoreCol;
	Menus::TMenuItem* menAddACol;
	Menus::TMenuItem* menAddMoreCol;
	Comctrls::TToolButton* btnPageLine;
	Comctrls::TToolButton* ToolButton13;
	Menus::TMenuItem* N1;
	Menus::TMenuItem* menPageLine;
	Dialogs::TPrinterSetupDialog* PrinterSetupDialog1;
	Menus::TMenuItem* menFileNew;
	Menus::TMenuItem* menSaveAS;
	Comctrls::TToolButton* btnFileNew;
	Menus::TMenuItem* menPrintSetting;
	Menus::TMenuItem* menHelp;
	Menus::TMenuItem* menAbout;
	Menus::TMenuItem* N2;
	Menus::TMenuItem* menCellStyle;
	Menus::TMenuItem* menColumnStyle;
	Comctrls::TToolButton* btnCellStyle;
	Comctrls::TToolButton* btnColumnStyle;
	Comctrls::TToolButton* ToolButton11;
	Comctrls::TToolButton* ToolButton15;
	Menus::TMenuItem* N3;
	Menus::TPopupMenu* GridPopupMenu;
	Menus::TMenuItem* N4;
	Menus::TMenuItem* menGetSizeFromPrinter;
	Menus::TMenuItem* menCut;
	void __fastcall RichEditSelectionChange(System::TObject* Sender);
	void __fastcall AnyGrid1KeyDown(System::TObject* Sender, System::Word &Key, Classes::TShiftState Shift);
	void __fastcall AnyGrid1AfterSelectCell(System::TObject* Sender, int Row, int Col);
	void __fastcall FormCreate(System::TObject* Sender);
	void __fastcall FormDestroy(System::TObject* Sender);
	void __fastcall FormKeyDown(System::TObject* Sender, System::Word &Key, Classes::TShiftState Shift);
	void __fastcall AnyGrid1UpdateData(System::TObject* Sender, int Row, int Col);
	void __fastcall btnAppendRowClick(System::TObject* Sender);
	void __fastcall btnDelRowClick(System::TObject* Sender);
	void __fastcall btnInsertColClick(System::TObject* Sender);
	void __fastcall btnAppendColClick(System::TObject* Sender);
	void __fastcall btnDelColClick(System::TObject* Sender);
	void __fastcall btnMergeClick(System::TObject* Sender);
	void __fastcall btnShowProClick(System::TObject* Sender);
	void __fastcall btnOKClick(System::TObject* Sender);
	void __fastcall btnCancelClick(System::TObject* Sender);
	void __fastcall btnAllFrameClick(System::TObject* Sender);
	void __fastcall btnFrameClick(System::TObject* Sender);
	void __fastcall btnNoFrameClick(System::TObject* Sender);
	void __fastcall btnInsertRowClick(System::TObject* Sender);
	void __fastcall btnOpenClick(System::TObject* Sender);
	void __fastcall btnSaveClick(System::TObject* Sender);
	void __fastcall btnExportClick(System::TObject* Sender);
	void __fastcall btnImportClick(System::TObject* Sender);
	void __fastcall btnCopyClick(System::TObject* Sender);
	void __fastcall btnPasteClick(System::TObject* Sender);
	void __fastcall FormClose(System::TObject* Sender, Forms::TCloseAction &Action);
	void __fastcall btnBoldClick(System::TObject* Sender);
	void __fastcall btnItalicClick(System::TObject* Sender);
	void __fastcall btnUnderLineClick(System::TObject* Sender);
	void __fastcall btnLeftJustifyClick(System::TObject* Sender);
	void __fastcall btnPrintClick(System::TObject* Sender);
	void __fastcall FormShow(System::TObject* Sender);
	void __fastcall menInspectorClick(System::TObject* Sender);
	void __fastcall menPrintClick(System::TObject* Sender);
	void __fastcall menInsertGraphicClick(System::TObject* Sender);
	void __fastcall menInsertOleClick(System::TObject* Sender);
	void __fastcall menUnMergeClick(System::TObject* Sender);
	void __fastcall menDeleteOleClick(System::TObject* Sender);
	void __fastcall menInsertRowsClick(System::TObject* Sender);
	void __fastcall menAddRowsClick(System::TObject* Sender);
	void __fastcall menAddColsClick(System::TObject* Sender);
	void __fastcall menInsertColsClick(System::TObject* Sender);
	void __fastcall btnPageLineClick(System::TObject* Sender);
	void __fastcall menPageLineClick(System::TObject* Sender);
	void __fastcall menFileNewClick(System::TObject* Sender);
	void __fastcall menSaveASClick(System::TObject* Sender);
	void __fastcall menPrintSettingClick(System::TObject* Sender);
	void __fastcall menAboutClick(System::TObject* Sender);
	void __fastcall menCellStyleClick(System::TObject* Sender);
	void __fastcall menColumnStyleClick(System::TObject* Sender);
	void __fastcall menGetSizeFromPrinterClick(System::TObject* Sender);
	void __fastcall menCutClick(System::TObject* Sender);
	
private:
	bool Updating;
	bool TextChanging;
	Inspform::TfrmInspForm* frmInspForm;
	Classes::TStringList* AlignList;
	Classes::TStringList* VerAlignList;
	Classes::TStringList* ItemsList;
	Classes::TStringList* ValueTypeList;
	Classes::TStringList* EditTypeList;
	Classes::TStringList* LineStyleList;
	Classes::TStringList* BiasDirection;
	Classes::TStringList* CursorList;
	Classes::TStringList* OrientationList;
	Classes::TStringList* PageSizeList;
	_TfrmDesign__1 PageSizeValues;
	Classes::TStringList* BrushStyleList;
	Classes::TStringList* BorderStyleList;
	Classes::TStringList* GridTypeList;
	Classes::TStringList* FormulaTypeList;
	Anydialogs::TAnyFontDialog* FontDialog;
	Anydialogs::TAnySaveDialog* ExportDialog;
	Anydialogs::TAnyOpenDialog* ImportDialog;
	Anydialogs::TAnySaveDialog* SaveGrid;
	Anydialogs::TAnyOpenDialog* OpenGrid;
	Anyflatedit::TAnyFlatEdit* edtRowHeight;
	Anyflatedit::TAnyFlatEdit* edtColWidth;
	Anyflatcombo::TAnyFlatFontComboBox* edtFont;
	Anyflatcombo::TAnyFlatComboBox* cbbFontSize;
	Dropdownbutton::TColorButton* btnBackColor;
	Dropdownbutton::TColorButton* btnFontColor;
	bool FmanualClose;
	bool FModified;
	Anyprint::TAnyPrint* FAnyPrint;
	bool Modifing;
	bool Clicking;
	Anyrichedit::TAnyTextAttributes* TextAttributes;
	bool FInternalDesign;
	System::WideString FFileName;
	System::StaticArray<System::WideChar, 32> FDevice;
	System::StaticArray<System::WideChar, 260> FDriver;
	System::StaticArray<System::WideChar, 33> FPort;
	unsigned FDeviceMode;
	Classes::TStringList* FMoveDirList;
	Classes::TStringList* UnitTypeList;
	Classes::TStringList* CharCaseList;
	void __fastcall InspectorFormHide(System::TObject* Sender);
	MESSAGE void __fastcall CMLogin(Messages::TMessage &message);
	MESSAGE void __fastcall CMPageLine(Messages::TMessage &message);
	void __fastcall OnChangeEvent(System::TObject* Sender, int Index);
	void __fastcall OnFilteredEvent(System::TObject* Sender);
	void __fastcall SetModifiedTrue(void);
	void __fastcall SetFontName(System::AnsiString FontName);
	void __fastcall SetFontSize(int FontSize);
	void __fastcall SetFontBold(bool FontBold);
	void __fastcall SetFontItalic(bool FontItalic);
	void __fastcall SetFontUnderLine(bool FontUnderLine);
	void __fastcall SetFontColor(Graphics::TColor FontColor);
	void __fastcall SetAlignment(Classes::TAlignment AlignX);
	int __fastcall MessageBox(System::WideChar * Text, System::WideChar * Caption, int Flags);
	void __fastcall UpdateGridProperty(void);
	void __fastcall UpdateReportProperty(void);
	void __fastcall UpdateToolBarControl(Anygrids::TCellInfo* Cell);
	void __fastcall edtFontChange(System::TObject* Sender);
	void __fastcall cbbFontSizeChange(System::TObject* Sender);
	void __fastcall SetBackColorChange(System::TObject* Sender);
	void __fastcall SetFontColorChange(System::TObject* Sender);
	void __fastcall edtRowHeightKeyPress(System::TObject* Sender, System::WideChar &Key);
	void __fastcall edtRowHeightChange(System::TObject* Sender);
	void __fastcall edtColWidthKeyPress(System::TObject* Sender, System::WideChar &Key);
	void __fastcall edtColWidthChange(System::TObject* Sender);
	void __fastcall cbbFontSizeKeyPress(System::TObject* Sender, System::WideChar &Key);
	void __fastcall ColorChange(const System::Variant &Value);
	void __fastcall ColumnColorChange(const System::Variant &Value);
	void __fastcall AutoHeightChange(const System::Variant &Value);
	void __fastcall ColumnAutoHeightChange(const System::Variant &Value);
	void __fastcall AlignmentChange(const System::Variant &Value);
	void __fastcall ColumnAlignmentChange(const System::Variant &Value);
	void __fastcall SelFont(System::TObject* Sender);
	void __fastcall SelColumnTitleFont(System::TObject* Sender);
	void __fastcall SelGridFont(System::TObject* Sender);
	void __fastcall SelGraphic(System::TObject* Sender);
	void __fastcall SelColumnGraphic(System::TObject* Sender);
	void __fastcall SelFieldName(System::TObject* Sender);
	void __fastcall SelCellFieldName(System::TObject* Sender);
	void __fastcall SelBackGroundGraphic(System::TObject* Sender);
	void __fastcall SelScroll16Bitmap(System::TObject* Sender);
	void __fastcall SelScroll18Bitmap(System::TObject* Sender);
	void __fastcall SelItems(System::TObject* Sender);
	void __fastcall SelColumnMask(System::TObject* Sender);
	void __fastcall SelMask(System::TObject* Sender);
	void __fastcall SelColumnItems(System::TObject* Sender);
	void __fastcall OnModify(int Item);
	void __fastcall OnGridModify(int Item);
	void __fastcall OnReportModify(int Item);
	void __fastcall OnColumnModify(int Item);
	void __fastcall OnGetObj(Classes::TStrings* List);
	void __fastcall LeftMarginChange(const System::Variant &Value);
	void __fastcall TopMarginChange(const System::Variant &Value);
	void __fastcall RightMarginChange(const System::Variant &Value);
	void __fastcall BottomMarginChange(const System::Variant &Value);
	void __fastcall LeftSpaceChange(const System::Variant &Value);
	void __fastcall TopSpaceChange(const System::Variant &Value);
	void __fastcall RightSpaceChange(const System::Variant &Value);
	void __fastcall BottomSpaceChange(const System::Variant &Value);
	void __fastcall GridBackColorChange(const System::Variant &Value);
	void __fastcall BorderStyleChange(const System::Variant &Value);
	void __fastcall GridColorChange(const System::Variant &Value);
	void __fastcall GridColsChange(const System::Variant &Value);
	void __fastcall GridRowsChange(const System::Variant &Value);
	void __fastcall ColumnTitleAlignChange(const System::Variant &Value);
	void __fastcall GridCtl3DChange(const System::Variant &Value);
	void __fastcall GridCursorChange(const System::Variant &Value);
	void __fastcall FixColCountChange(const System::Variant &Value);
	void __fastcall FixRowCountChange(const System::Variant &Value);
	void __fastcall LineColorChange(const System::Variant &Value);
	void __fastcall ResizeColOnRowChange(const System::Variant &Value);
	void __fastcall ResizeRowOnColChange(const System::Variant &Value);
	void __fastcall ShadowColorChange(const System::Variant &Value);
	void __fastcall ShowHintChange(const System::Variant &Value);
	void __fastcall SortBeginRowChange(const System::Variant &Value);
	void __fastcall SortEndRowChange(const System::Variant &Value);
	void __fastcall FilterBeginRowChange(const System::Variant &Value);
	void __fastcall FilterEndRowChange(const System::Variant &Value);
	void __fastcall GridTypeChange(const System::Variant &Value);
	void __fastcall ShowShadowChange(const System::Variant &Value);
	void __fastcall AlwaysShowEditorChange(const System::Variant &Value);
	void __fastcall AutoMergeChange(const System::Variant &Value);
	void __fastcall AlwaysShowButtonChange(const System::Variant &Value);
	void __fastcall DropDownCountChange(const System::Variant &Value);
	void __fastcall RowSizingChange(const System::Variant &Value);
	void __fastcall ColSizingChange(const System::Variant &Value);
	void __fastcall HiddenSizingChange(const System::Variant &Value);
	void __fastcall MultiSelectChange(const System::Variant &Value);
	void __fastcall ShowColIndexChange(const System::Variant &Value);
	void __fastcall ShowExcelTitleChange(const System::Variant &Value);
	void __fastcall EditingChange(const System::Variant &Value);
	void __fastcall ColMovingChange(const System::Variant &Value);
	void __fastcall RowMovingChange(const System::Variant &Value);
	void __fastcall SortingChange(const System::Variant &Value);
	void __fastcall ShowFilterChange(const System::Variant &Value);
	void __fastcall RowSelectChange(const System::Variant &Value);
	void __fastcall DefaultRowHeightChange(const System::Variant &Value);
	void __fastcall DefaultColWidthChange(const System::Variant &Value);
	void __fastcall RTFLineSpaceChange(const System::Variant &Value);
	void __fastcall ShowGroupFooterChange(const System::Variant &Value);
	void __fastcall ShowPagesLineChange(const System::Variant &Value);
	void __fastcall ConfirmDeleteChange(const System::Variant &Value);
	void __fastcall CanSelectAllChange(const System::Variant &Value);
	void __fastcall CanPasteChange(const System::Variant &Value);
	void __fastcall CanInsertChange(const System::Variant &Value);
	void __fastcall CanDeleteChange(const System::Variant &Value);
	void __fastcall CanCutChange(const System::Variant &Value);
	void __fastcall CanCopyChange(const System::Variant &Value);
	void __fastcall CanAppendChange(const System::Variant &Value);
	void __fastcall AutoCalFormulaChange(const System::Variant &Value);
	void __fastcall FooterRowsChange(const System::Variant &Value);
	void __fastcall TitleRowsChange(const System::Variant &Value);
	void __fastcall AutoShowBlobFieldChange(const System::Variant &Value);
	void __fastcall IncludeHiddenDataChange(const System::Variant &Value);
	void __fastcall BiasColorChange(const System::Variant &Value);
	void __fastcall BiasDirectionChange(const System::Variant &Value);
	void __fastcall CheckedChange(const System::Variant &Value);
	void __fastcall ColsChange(const System::Variant &Value);
	void __fastcall DigitsChange(const System::Variant &Value);
	void __fastcall DrawLeftLineChange(const System::Variant &Value);
	void __fastcall DrawTopLineChange(const System::Variant &Value);
	void __fastcall DrawRightLineChange(const System::Variant &Value);
	void __fastcall DrawBottomLineChange(const System::Variant &Value);
	void __fastcall EditTypeChange(const System::Variant &Value);
	void __fastcall FixCellChange(const System::Variant &Value);
	void __fastcall GraphicAlignChange(const System::Variant &Value);
	void __fastcall GraphicVerAlignChange(const System::Variant &Value);
	void __fastcall GraphicLMarginChange(const System::Variant &Value);
	void __fastcall GraphicTMarginChange(const System::Variant &Value);
	void __fastcall GraphicRMarginChange(const System::Variant &Value);
	void __fastcall GraphicBMarginChange(const System::Variant &Value);
	void __fastcall TextLMarginChange(const System::Variant &Value);
	void __fastcall TextTMarginChange(const System::Variant &Value);
	void __fastcall TextRMarginChange(const System::Variant &Value);
	void __fastcall TextBMarginChange(const System::Variant &Value);
	void __fastcall TextChange(const System::Variant &Value);
	void __fastcall LeftTextChange(const System::Variant &Value);
	void __fastcall MaskChange(const System::Variant &Value);
	void __fastcall MaxLengthChange(const System::Variant &Value);
	void __fastcall NameChange(const System::Variant &Value);
	void __fastcall PasswordCharChange(const System::Variant &AText);
	void __fastcall ReadOnlyChange(const System::Variant &Value);
	void __fastcall RightTextChange(const System::Variant &Value);
	void __fastcall RowsChange(const System::Variant &Value);
	void __fastcall ThousandSeptChange(const System::Variant &Value);
	void __fastcall WordWrapChange(const System::Variant &Value);
	void __fastcall ValueTypeChange(const System::Variant &Value);
	void __fastcall DirectInputChange(const System::Variant &Value);
	void __fastcall LeftFrameChange(const System::Variant &Value);
	void __fastcall TopFrameChange(const System::Variant &Value);
	void __fastcall RightFrameChange(const System::Variant &Value);
	void __fastcall BottomFrameChange(const System::Variant &Value);
	void __fastcall TitleGraphicChange(const System::Variant &Value);
	void __fastcall StretchChange(const System::Variant &Value);
	void __fastcall StretchFineChange(const System::Variant &Value);
	void __fastcall TagChange(const System::Variant &Value);
	void __fastcall VerticalFontChange(const System::Variant &Value);
	void __fastcall LeftFrameWidthChange(const System::Variant &Value);
	void __fastcall TopFrameWidthChange(const System::Variant &Value);
	void __fastcall RightFrameWidthChange(const System::Variant &Value);
	void __fastcall BottomFrameWidthChange(const System::Variant &Value);
	void __fastcall LeftFrameColorChange(const System::Variant &Value);
	void __fastcall TopFrameColorChange(const System::Variant &Value);
	void __fastcall RightFrameColorChange(const System::Variant &Value);
	void __fastcall BottomFrameColorChange(const System::Variant &Value);
	void __fastcall LeftFrameStyleChange(const System::Variant &Value);
	void __fastcall TopFrameStyleChange(const System::Variant &Value);
	void __fastcall RightFrameStyleChange(const System::Variant &Value);
	void __fastcall BottomFrameStyleChange(const System::Variant &Value);
	void __fastcall BiasStyleChange(const System::Variant &Value);
	void __fastcall BiasWidthChange(const System::Variant &Value);
	void __fastcall TransparentColorChange(const System::Variant &Value);
	void __fastcall VerAlignMentChange(const System::Variant &Value);
	void __fastcall TransparentChange(const System::Variant &Value);
	void __fastcall ComboItemHeightChange(const System::Variant &Value);
	void __fastcall ImageIndexChange(const System::Variant &Value);
	void __fastcall Ctl3DChange(const System::Variant &Value);
	void __fastcall CursorChange(const System::Variant &Value);
	void __fastcall HintChange(const System::Variant &Value);
	void __fastcall ItemIndexChange(const System::Variant &Value);
	void __fastcall IncrementChange(const System::Variant &Value);
	void __fastcall BrushStyleChange(const System::Variant &Value);
	void __fastcall ValueCheckedChange(const System::Variant &Value);
	void __fastcall ValueUnCheckedChange(const System::Variant &Value);
	void __fastcall CellFieldNameChange(const System::Variant &Value);
	void __fastcall TrimZeroChange(const System::Variant &Value);
	void __fastcall FontAngleChange(const System::Variant &Value);
	void __fastcall ColumnBiasColorChange(const System::Variant &Value);
	void __fastcall ColumnBiasDirectionChange(const System::Variant &Value);
	void __fastcall ColumnDigitsChange(const System::Variant &Value);
	void __fastcall ColumnEditTypeChange(const System::Variant &Value);
	void __fastcall ColumnFixCellChange(const System::Variant &Value);
	void __fastcall ColumnGraphicAlignChange(const System::Variant &Value);
	void __fastcall ColumnGraphicVerAlignChange(const System::Variant &Value);
	void __fastcall ColumnGraphicLMarginChange(const System::Variant &Value);
	void __fastcall ColumnGraphicTMarginChange(const System::Variant &Value);
	void __fastcall ColumnGraphicRMarginChange(const System::Variant &Value);
	void __fastcall ColumnGraphicBMarginChange(const System::Variant &Value);
	void __fastcall ColumnTextLMarginChange(const System::Variant &Value);
	void __fastcall ColumnTextTMarginChange(const System::Variant &Value);
	void __fastcall ColumnTextRMarginChange(const System::Variant &Value);
	void __fastcall ColumnTextBMarginChange(const System::Variant &Value);
	void __fastcall ColumnMaskChange(const System::Variant &Value);
	void __fastcall ColumnMaxLengthChange(const System::Variant &Value);
	void __fastcall ColumnPasswordCharChange(const System::Variant &AText);
	void __fastcall ColumnReadOnlyChange(const System::Variant &Value);
	void __fastcall ColumnThousandSeptChange(const System::Variant &Value);
	void __fastcall ColumnWordWrapChange(const System::Variant &Value);
	void __fastcall ColumnValueTypeChange(const System::Variant &Value);
	void __fastcall ColumnDirectInputChange(const System::Variant &Value);
	void __fastcall ColumnTitleGraphicChange(const System::Variant &Value);
	void __fastcall ColumnStretchChange(const System::Variant &Value);
	void __fastcall ColumnStretchFineChange(const System::Variant &Value);
	void __fastcall ColumnVerticalFontChange(const System::Variant &Value);
	void __fastcall ColumnBiasStyleChange(const System::Variant &Value);
	void __fastcall ColumnBiasWidthChange(const System::Variant &Value);
	void __fastcall ColumnTransparentColorChange(const System::Variant &Value);
	void __fastcall ColumnVerAlignmentChange(const System::Variant &Value);
	void __fastcall ColumnTransparentChange(const System::Variant &Value);
	void __fastcall ColumnComboItemHeightChange(const System::Variant &Value);
	void __fastcall ColumnImageIndexChange(const System::Variant &Value);
	void __fastcall ColumnCtl3DChange(const System::Variant &Value);
	void __fastcall ColumnCursorChange(const System::Variant &Value);
	void __fastcall ColumnHintChange(const System::Variant &Value);
	void __fastcall ColumnIncrementChange(const System::Variant &Value);
	void __fastcall ColumnBrushStyleChange(const System::Variant &Value);
	void __fastcall ColumnTitleAlignmentChange(const System::Variant &Value);
	void __fastcall ColumnTitleCaptionChange(const System::Variant &Value);
	void __fastcall ColumnTitleColorChange(const System::Variant &Value);
	void __fastcall ColumnVisibleChange(const System::Variant &Value);
	void __fastcall ColumnWidthChange(const System::Variant &Value);
	void __fastcall FieldNameChange(const System::Variant &Value);
	void __fastcall FormulaTypeChange(const System::Variant &Value);
	void __fastcall ColumnValueCheckChange(const System::Variant &Value);
	void __fastcall ColumnValueUnCheckChange(const System::Variant &Value);
	void __fastcall ColumnTrimZeroChange(const System::Variant &Value);
	void __fastcall ColumnTagChange(const System::Variant &Value);
	void __fastcall ColumnNameChange(const System::Variant &Value);
	void __fastcall ColumnFontAngleChange(const System::Variant &Value);
	void __fastcall CurrencySymbolChange(const System::Variant &Value);
	void __fastcall CurrencyDecimalSeparatorColorChange(const System::Variant &Value);
	void __fastcall CurrencyThousandSeparatorColorChange(const System::Variant &Value);
	void __fastcall CurrencyCellWidthChange(const System::Variant &Value);
	void __fastcall CurrencyDigitsChange(const System::Variant &Value);
	void __fastcall OnClickSetsPropEvent(System::TObject* Sender, int Index, const System::AnsiString Caption, Inspector::TSetsState &CurrState);
	void __fastcall OnGetItemHeight(System::TObject* Sender, System::AnsiString PropName, int &ItemHeight, int &ItemWidth);
	void __fastcall OnDrawItem(System::TObject* Sender, Graphics::TCanvas* Canvas, System::AnsiString PropName, Inspector::TProp* P, int Index, bool Focused, const Types::TRect &Rect, int &DrawWidth);
	void __fastcall OnInitData(System::TObject* Sender);
	void __fastcall UpdateObject(void);
	void __fastcall OnTabChange(System::TObject* Sender);
	void __fastcall SetInternalDesign(const bool Value);
	void __fastcall GetSettings(void);
	void __fastcall SelFooterFont(System::TObject* Sender);
	void __fastcall SelPageFooterFont(System::TObject* Sender);
	void __fastcall SelPageHeaderDetailFont(System::TObject* Sender);
	void __fastcall SelPageHeaderFont(System::TObject* Sender);
	void __fastcall SelReportTitleFont(System::TObject* Sender);
	void __fastcall SelSummaryFont(System::TObject* Sender);
	void __fastcall ColorPrinterChange(const System::Variant &Value);
	void __fastcall DisablePrintChange(const System::Variant &Value);
	void __fastcall DocumentNameChange(const System::Variant &Value);
	void __fastcall Footer_RightTextChange(const System::Variant &Value);
	void __fastcall Footer_LeftTextChange(const System::Variant &Value);
	void __fastcall Footer_MiddleTextChange(const System::Variant &Value);
	void __fastcall Footer_ColorChange(const System::Variant &Value);
	void __fastcall FooterColumnsChange(const System::Variant &Value);
	void __fastcall ReportFooterRowsChange(const System::Variant &Value);
	void __fastcall HorzAutoCenterChange(const System::Variant &Value);
	void __fastcall HorzSpaceToBreakChange(const System::Variant &Value);
	void __fastcall ModalPreviewChange(const System::Variant &Value);
	void __fastcall OrientationChange(const System::Variant &Value);
	void __fastcall PageColumnsChange(const System::Variant &Value);
	void __fastcall PageHeightChange(const System::Variant &Value);
	void __fastcall PageSizeChange(const System::Variant &Value);
	void __fastcall PageWidthChange(const System::Variant &Value);
	void __fastcall ShowProgressChange(const System::Variant &Value);
	void __fastcall TitleColumnsChange(const System::Variant &Value);
	void __fastcall ReportTitleRowsChange(const System::Variant &Value);
	void __fastcall VertAutoCenterChange(const System::Variant &Value);
	void __fastcall VertSpaceToBreakChange(const System::Variant &Value);
	void __fastcall PageFooter_RightTextChange(const System::Variant &Value);
	void __fastcall PageFooter_MiddleTextChange(const System::Variant &Value);
	void __fastcall PageFooter_LeftTextChange(const System::Variant &Value);
	void __fastcall PageFooter_ColorChange(const System::Variant &Value);
	void __fastcall PageHeader_RightTextChange(const System::Variant &Value);
	void __fastcall PageHeader_MiddleTextChange(const System::Variant &Value);
	void __fastcall PageHeader_LeftTextChange(const System::Variant &Value);
	void __fastcall PageHeader_ColorChange(const System::Variant &Value);
	void __fastcall PageHeader_TextChange(const System::Variant &Value);
	void __fastcall PageHeader_AlignChange(const System::Variant &Value);
	void __fastcall PageMargins_TopChange(const System::Variant &Value);
	void __fastcall PageMargins_RightChange(const System::Variant &Value);
	void __fastcall PageMargins_LeftChange(const System::Variant &Value);
	void __fastcall PageMargins_BottomChange(const System::Variant &Value);
	void __fastcall ReportTitle_TextChange(const System::Variant &Value);
	void __fastcall ReportTitle_ColorChange(const System::Variant &Value);
	void __fastcall ReportTitle_AlignChange(const System::Variant &Value);
	void __fastcall Summary_RightTextChange(const System::Variant &Value);
	void __fastcall Summary_LeftTextChange(const System::Variant &Value);
	void __fastcall Summary_MiddleTextChange(const System::Variant &Value);
	void __fastcall Summary_ColorChange(const System::Variant &Value);
	void __fastcall DirectToPrinterChange(const System::Variant &Value);
	void __fastcall PrintGridLineChange(const System::Variant &Value);
	void __fastcall TitleColorChange(const System::Variant &Value);
	void __fastcall TitleHeightChange(const System::Variant &Value);
	void __fastcall TitleWidthChange(const System::Variant &Value);
	void __fastcall CurrencySeparatorColorChange(const System::Variant &Value);
	void __fastcall PrintZoomChange(const System::Variant &Value);
	void __fastcall TileBackGroundChange(const System::Variant &Value);
	void __fastcall FocusColorChange(const System::Variant &Value);
	void __fastcall LockBackGroundChange(const System::Variant &Value);
	void __fastcall HorzScrollTrackingChange(const System::Variant &Value);
	void __fastcall VertScrollTrackingChange(const System::Variant &Value);
	void __fastcall AutoSelectRowChange(const System::Variant &Value);
	void __fastcall AutoSelectColChange(const System::Variant &Value);
	void __fastcall MoveDirEnterChange(const System::Variant &Value);
	void __fastcall SelAllOnEditChange(const System::Variant &Value);
	void __fastcall TitleLineColorChange(const System::Variant &Value);
	void __fastcall InitPopupMenu(void);
	void __fastcall ShrinkToFitChange(const System::Variant &Value);
	void __fastcall ColumnShrinkToFitChange(const System::Variant &Value);
	void __fastcall ShowHintSymbolChange(const System::Variant &Value);
	void __fastcall QuickShowHintChange(const System::Variant &Value);
	void __fastcall PrintableChange(const System::Variant &Value);
	void __fastcall ColumnPrintableChange(const System::Variant &Value);
	void __fastcall PrintCurrencyLineChange(const System::Variant &Value);
	void __fastcall ShowCurrencyLineChange(const System::Variant &Value);
	void __fastcall ColumnPrintCurrencyLineChange(const System::Variant &Value);
	void __fastcall ColumnShowCurrencyLineChange(const System::Variant &Value);
	void __fastcall ColumnDropDownCountChange(const System::Variant &Value);
	void __fastcall VerticalTextSpaceChange(const System::Variant &Value);
	void __fastcall ColumnVerticalTextSpaceChange(const System::Variant &Value);
	void __fastcall PhyLeftMarginChange(const System::Variant &Value);
	void __fastcall PhyTopMarginChange(const System::Variant &Value);
	void __fastcall PhyRightMarginChange(const System::Variant &Value);
	void __fastcall PhyBottomMarginChange(const System::Variant &Value);
	void __fastcall ColumnPhyWidthChange(const System::Variant &Value);
	void __fastcall UnitTypeChange(const System::Variant &Value);
	void __fastcall ShowSizeInfoChange(const System::Variant &Value);
	void __fastcall TabNextRowChange(const System::Variant &Value);
	void __fastcall TabNextColChange(const System::Variant &Value);
	void __fastcall AutoNextRowColChange(const System::Variant &Value);
	void __fastcall CharCaseChange(const System::Variant &Value);
	void __fastcall ColumnCharCaseChange(const System::Variant &Value);
	
public:
	Anygrids::TAnyGrid* AnyGrid1;
	virtual int __fastcall ShowModal(void);
	__property bool InternalDesign = {read=FInternalDesign, write=SetInternalDesign, nodefault};
	__property System::WideString FileName = {read=FFileName, write=FFileName};
public:
	/* TCustomForm.Create */ inline __fastcall virtual TfrmDesign(Classes::TComponent* AOwner) : Forms::TForm(AOwner) { }
	/* TCustomForm.CreateNew */ inline __fastcall virtual TfrmDesign(Classes::TComponent* AOwner, int Dummy) : Forms::TForm(AOwner, Dummy) { }
	/* TCustomForm.Destroy */ inline __fastcall virtual ~TfrmDesign(void) { }
	
public:
	/* TWinControl.CreateParented */ inline __fastcall TfrmDesign(HWND ParentWindow) : Forms::TForm(ParentWindow) { }
	
};


//-- var, const, procedure ---------------------------------------------------
static const System::Word CM_Login = 0x465;
static const System::Word CM_PAGELINE = 0x466;
extern PACKAGE TfrmDesign* frmDesign;

}	/* namespace Designgrid */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE)
using namespace Designgrid;
#endif
#pragma pack(pop)
#pragma option pop

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