⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 formcolselect.hpp

📁 中式财务栏 表格式录入 运行时设置可显示列、列名、列宽
💻 HPP
字号:
// Borland C++ Builder
// Copyright (c) 1995, 2005 by Borland Software Corporation
// All rights reserved

// (DO NOT EDIT: machine generated header) 'Formcolselect.pas' rev: 10.00

#ifndef FormcolselectHPP
#define FormcolselectHPP

#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 <Sysutils.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Forms.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Ucommfunc.hpp>	// Pascal unit
#include <Inifiles.hpp>	// Pascal unit
#include <Stdctrls.hpp>	// Pascal unit
#include <Dbgrideh.hpp>	// Pascal unit
#include <Checklst.hpp>	// Pascal unit
#include <Buttons.hpp>	// Pascal unit
#include <Comctrls.hpp>	// Pascal unit
#include <Extctrls.hpp>	// Pascal unit
#include <Math.hpp>	// Pascal unit

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

namespace Formcolselect
{
//-- type declarations -------------------------------------------------------
struct TColParams
{
	
public:
	AnsiString FieldName;
	AnsiString Title;
	int Width;
	int Index;
	bool Visible;
	bool ReadOnly;
	bool Sort;
	Dbgrideh::TFooterValueType SumListType;
	AnsiString SumListField;
	AnsiString SumListValue;
	Dbgrideh::TColumnEh* P;
} ;

typedef TColParams *PColParams;

typedef DynamicArray<TColParams >  FormColSelect__2;

class DELPHICLASS TFrmColSelect;
class PASCALIMPLEMENTATION TFrmColSelect : public Forms::TForm 
{
	typedef Forms::TForm inherited;
	
__published:
	Extctrls::TPanel* Panel1;
	Extctrls::TPanel* Panel2;
	Checklst::TCheckListBox* CLB;
	Extctrls::TPanel* Panel3;
	Buttons::TBitBtn* BitBtn1;
	Buttons::TBitBtn* BitBtn2;
	Extctrls::TPanel* Panel4;
	Extctrls::TLabeledEdit* EdtFieldName;
	Buttons::TBitBtn* BitBtn3;
	Stdctrls::TGroupBox* GroupBox1;
	Stdctrls::TCheckBox* ChkSumList;
	Stdctrls::TCheckBox* chkAutoColWidth;
	Stdctrls::TCheckBox* ChkMultiTitle;
	Stdctrls::TEdit* EdtFix;
	Comctrls::TUpDown* UpDownFix;
	Stdctrls::TLabel* Label1;
	Stdctrls::TGroupBox* GroupBox2;
	Extctrls::TLabeledEdit* EditSumValue;
	Stdctrls::TComboBox* EditSumField;
	Stdctrls::TComboBox* CbxSumType;
	Stdctrls::TCheckBox* ChkReadOnly;
	Extctrls::TLabeledEdit* EdtFieldTitle;
	Buttons::TSpeedButton* SpeedButton6;
	Buttons::TSpeedButton* SpeedButton1;
	Buttons::TSpeedButton* SpeedButton2;
	Buttons::TSpeedButton* SpeedButton7;
	Stdctrls::TLabel* Label3;
	Stdctrls::TLabel* Label2;
	Stdctrls::TLabel* Label4;
	Buttons::TBitBtn* btn1;
	Stdctrls::TCheckBox* CheckBox1;
	Stdctrls::TCheckBox* CheckBox2;
	Extctrls::TLabeledEdit* LabeledEdit1;
	void __fastcall Button2Click(System::TObject* Sender);
	void __fastcall SpeedButton1Click(System::TObject* Sender);
	void __fastcall SpeedButton2Click(System::TObject* Sender);
	void __fastcall FormShow(System::TObject* Sender);
	void __fastcall SpeedButton6Click(System::TObject* Sender);
	void __fastcall SpeedButton7Click(System::TObject* Sender);
	void __fastcall CLBClick(System::TObject* Sender);
	void __fastcall OnSaveFieldValue(System::TObject* Sender);
	void __fastcall BitBtn3Click(System::TObject* Sender);
	void __fastcall CbxSumTypeChange(System::TObject* Sender);
	void __fastcall btn1Click(System::TObject* Sender);
	void __fastcall FormClose(System::TObject* Sender, Forms::TCloseAction &Action);
	
private:
	DynamicArray<TColParams >  ColArray;
	int OldIndex;
	Dbgrideh::TFooterValueType v;
	void __fastcall SaveGridLayOut(void);
	
public:
	Dbgrideh::TDBGridEh* Grid;
	void __fastcall LoadData(void);
	void __fastcall SaveData(void);
	void __fastcall SaveFieldValue(void);
public:
	#pragma option push -w-inl
	/* TCustomForm.Create */ inline __fastcall virtual TFrmColSelect(Classes::TComponent* AOwner) : Forms::TForm(AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TCustomForm.CreateNew */ inline __fastcall virtual TFrmColSelect(Classes::TComponent* AOwner, int Dummy) : Forms::TForm(AOwner, Dummy) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TCustomForm.Destroy */ inline __fastcall virtual ~TFrmColSelect(void) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TWinControl.CreateParented */ inline __fastcall TFrmColSelect(HWND ParentWindow) : Forms::TForm(ParentWindow) { }
	#pragma option pop
	
};


//-- var, const, procedure ---------------------------------------------------
extern PACKAGE TFrmColSelect* FrmColSelect;
extern PACKAGE void __fastcall ShowGridColEditor(Dbgrideh::TDBGridEh* Grid);

}	/* namespace Formcolselect */
using namespace Formcolselect;
#pragma pack(pop)
#pragma option pop

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

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -