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

📄 frxdsgnintf.hpp

📁 这个是功能强大的报表软件
💻 HPP
📖 第 1 页 / 共 2 页
字号:
// Borland C++ Builder
// Copyright (c) 1995, 2005 by Borland Software Corporation
// All rights reserved

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

#ifndef FrxdsgnintfHPP
#define FrxdsgnintfHPP

#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 <Windows.hpp>	// Pascal unit
#include <Messages.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Stdctrls.hpp>	// Pascal unit
#include <Menus.hpp>	// Pascal unit
#include <Typinfo.hpp>	// Pascal unit
#include <Frxclass.hpp>	// Pascal unit
#include <Variants.hpp>	// Pascal unit

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

namespace Frxdsgnintf
{
//-- type declarations -------------------------------------------------------
#pragma option push -b-
enum TfrxPropertyAttribute { paValueList, paSortList, paDialog, paMultiSelect, paSubProperties, paReadOnly, paOwnerDraw };
#pragma option pop

typedef Set<TfrxPropertyAttribute, paValueList, paOwnerDraw>  TfrxPropertyAttributes;

class DELPHICLASS TfrxPropertyEditor;
class PASCALIMPLEMENTATION TfrxPropertyEditor : public System::TObject 
{
	typedef System::TObject inherited;
	
private:
	Frxclass::TfrxCustomDesigner* FDesigner;
	Classes::TList* FCompList;
	Classes::TList* FPropList;
	int FItemHeight;
	Classes::TStrings* FValues;
	Typinfo::PPropInfo __fastcall GetPropInfo(void);
	Classes::TPersistent* __fastcall GetComponent(void);
	Frxclass::TfrxComponent* __fastcall GetfrComponent(void);
	
protected:
	void __fastcall GetStrProc(const AnsiString s);
	Extended __fastcall GetFloatValue(void);
	int __fastcall GetOrdValue(void);
	AnsiString __fastcall GetStrValue();
	Variant __fastcall GetVarValue();
	void __fastcall SetFloatValue(Extended Value);
	void __fastcall SetOrdValue(int Value);
	void __fastcall SetStrValue(const AnsiString Value);
	void __fastcall SetVarValue(const Variant &Value);
	
public:
	__fastcall virtual TfrxPropertyEditor(Frxclass::TfrxCustomDesigner* Designer);
	__fastcall virtual ~TfrxPropertyEditor(void);
	virtual bool __fastcall Edit(void);
	virtual TfrxPropertyAttributes __fastcall GetAttributes(void);
	virtual AnsiString __fastcall GetName();
	virtual int __fastcall GetExtraLBSize(void);
	virtual AnsiString __fastcall GetValue();
	virtual void __fastcall GetValues(void);
	virtual void __fastcall SetValue(const AnsiString Value);
	virtual void __fastcall OnDrawLBItem(Controls::TWinControl* Control, int Index, const Types::TRect &ARect, Windows::TOwnerDrawState State);
	virtual void __fastcall OnDrawItem(Graphics::TCanvas* Canvas, const Types::TRect &ARect);
	__property Classes::TPersistent* Component = {read=GetComponent};
	__property Frxclass::TfrxComponent* frComponent = {read=GetfrComponent};
	__property Frxclass::TfrxCustomDesigner* Designer = {read=FDesigner};
	__property int ItemHeight = {read=FItemHeight, write=FItemHeight, nodefault};
	__property Typinfo::PPropInfo PropInfo = {read=GetPropInfo};
	__property AnsiString Value = {read=GetValue, write=SetValue};
	__property Classes::TStrings* Values = {read=FValues};
};


typedef TMetaClass* TfrxPropertyEditorClass;

class DELPHICLASS TfrxComponentEditor;
class PASCALIMPLEMENTATION TfrxComponentEditor : public System::TObject 
{
	typedef System::TObject inherited;
	
private:
	Frxclass::TfrxComponent* FComponent;
	Frxclass::TfrxCustomDesigner* FDesigner;
	Menus::TMenu* FMenu;
	
protected:
	Menus::TMenuItem* __fastcall AddItem(const AnsiString Caption, int Tag, bool Checked = false);
	
public:
	__fastcall TfrxComponentEditor(Frxclass::TfrxComponent* Component, Frxclass::TfrxCustomDesigner* Designer, Menus::TMenu* Menu);
	virtual bool __fastcall Edit(void);
	virtual bool __fastcall HasEditor(void);
	virtual void __fastcall GetMenuItems(void);
	virtual bool __fastcall Execute(int Tag, bool Checked);
	__property Frxclass::TfrxComponent* Component = {read=FComponent};
	__property Frxclass::TfrxCustomDesigner* Designer = {read=FDesigner};
public:
	#pragma option push -w-inl
	/* TObject.Destroy */ inline __fastcall virtual ~TfrxComponentEditor(void) { }
	#pragma option pop
	
};


typedef TMetaClass* TfrxComponentEditorClass;

class DELPHICLASS TfrxIntegerProperty;
class PASCALIMPLEMENTATION TfrxIntegerProperty : public TfrxPropertyEditor 
{
	typedef TfrxPropertyEditor inherited;
	
public:
	virtual AnsiString __fastcall GetValue();
	virtual void __fastcall SetValue(const AnsiString Value);
public:
	#pragma option push -w-inl
	/* TfrxPropertyEditor.Create */ inline __fastcall virtual TfrxIntegerProperty(Frxclass::TfrxCustomDesigner* Designer) : TfrxPropertyEditor(Designer) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TfrxPropertyEditor.Destroy */ inline __fastcall virtual ~TfrxIntegerProperty(void) { }
	#pragma option pop
	
};


class DELPHICLASS TfrxFloatProperty;
class PASCALIMPLEMENTATION TfrxFloatProperty : public TfrxPropertyEditor 
{
	typedef TfrxPropertyEditor inherited;
	
public:
	virtual AnsiString __fastcall GetValue();
	virtual void __fastcall SetValue(const AnsiString Value);
public:
	#pragma option push -w-inl
	/* TfrxPropertyEditor.Create */ inline __fastcall virtual TfrxFloatProperty(Frxclass::TfrxCustomDesigner* Designer) : TfrxPropertyEditor(Designer) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TfrxPropertyEditor.Destroy */ inline __fastcall virtual ~TfrxFloatProperty(void) { }
	#pragma option pop
	
};


class DELPHICLASS TfrxCharProperty;
class PASCALIMPLEMENTATION TfrxCharProperty : public TfrxPropertyEditor 
{
	typedef TfrxPropertyEditor inherited;
	
public:
	virtual AnsiString __fastcall GetValue();
	virtual void __fastcall SetValue(const AnsiString Value);
public:
	#pragma option push -w-inl
	/* TfrxPropertyEditor.Create */ inline __fastcall virtual TfrxCharProperty(Frxclass::TfrxCustomDesigner* Designer) : TfrxPropertyEditor(Designer) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TfrxPropertyEditor.Destroy */ inline __fastcall virtual ~TfrxCharProperty(void) { }
	#pragma option pop
	
};


class DELPHICLASS TfrxStringProperty;
class PASCALIMPLEMENTATION TfrxStringProperty : public TfrxPropertyEditor 
{
	typedef TfrxPropertyEditor inherited;
	
public:
	virtual AnsiString __fastcall GetValue();
	virtual void __fastcall SetValue(const AnsiString Value);
public:
	#pragma option push -w-inl
	/* TfrxPropertyEditor.Create */ inline __fastcall virtual TfrxStringProperty(Frxclass::TfrxCustomDesigner* Designer) : TfrxPropertyEditor(Designer) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TfrxPropertyEditor.Destroy */ inline __fastcall virtual ~TfrxStringProperty(void) { }
	#pragma option pop
	
};


class DELPHICLASS TfrxEnumProperty;
class PASCALIMPLEMENTATION TfrxEnumProperty : public TfrxPropertyEditor 
{
	typedef TfrxPropertyEditor inherited;
	
public:
	virtual TfrxPropertyAttributes __fastcall GetAttributes(void);
	virtual AnsiString __fastcall GetValue();
	virtual void __fastcall GetValues(void);
	virtual void __fastcall SetValue(const AnsiString Value);
public:
	#pragma option push -w-inl
	/* TfrxPropertyEditor.Create */ inline __fastcall virtual TfrxEnumProperty(Frxclass::TfrxCustomDesigner* Designer) : TfrxPropertyEditor(Designer) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TfrxPropertyEditor.Destroy */ inline __fastcall virtual ~TfrxEnumProperty(void) { }
	#pragma option pop
	
};


class DELPHICLASS TfrxSetProperty;
class PASCALIMPLEMENTATION TfrxSetProperty : public TfrxPropertyEditor 
{
	typedef TfrxPropertyEditor inherited;
	
public:
	virtual TfrxPropertyAttributes __fastcall GetAttributes(void);
	virtual AnsiString __fastcall GetValue();
public:
	#pragma option push -w-inl
	/* TfrxPropertyEditor.Create */ inline __fastcall virtual TfrxSetProperty(Frxclass::TfrxCustomDesigner* Designer) : TfrxPropertyEditor(Designer) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TfrxPropertyEditor.Destroy */ inline __fastcall virtual ~TfrxSetProperty(void) { }
	#pragma option pop
	
};


class DELPHICLASS TfrxSetElementProperty;
class PASCALIMPLEMENTATION TfrxSetElementProperty : public TfrxPropertyEditor 
{
	typedef TfrxPropertyEditor inherited;
	
private:
	int FElement;
	
public:
	virtual TfrxPropertyAttributes __fastcall GetAttributes(void);
	virtual AnsiString __fastcall GetName();
	virtual AnsiString __fastcall GetValue();
	virtual void __fastcall GetValues(void);
	virtual void __fastcall SetValue(const AnsiString Value);
public:
	#pragma option push -w-inl
	/* TfrxPropertyEditor.Create */ inline __fastcall virtual TfrxSetElementProperty(Frxclass::TfrxCustomDesigner* Designer) : TfrxPropertyEditor(Designer) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TfrxPropertyEditor.Destroy */ inline __fastcall virtual ~TfrxSetElementProperty(void) { }
	#pragma option pop
	
};


class DELPHICLASS TfrxClassProperty;
class PASCALIMPLEMENTATION TfrxClassProperty : public TfrxPropertyEditor 
{
	typedef TfrxPropertyEditor inherited;
	
public:
	virtual TfrxPropertyAttributes __fastcall GetAttributes(void);
	virtual AnsiString __fastcall GetValue();
public:
	#pragma option push -w-inl
	/* TfrxPropertyEditor.Create */ inline __fastcall virtual TfrxClassProperty(Frxclass::TfrxCustomDesigner* Designer) : TfrxPropertyEditor(Designer) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TfrxPropertyEditor.Destroy */ inline __fastcall virtual ~TfrxClassProperty(void) { }
	#pragma option pop
	
};


class DELPHICLASS TfrxComponentProperty;
class PASCALIMPLEMENTATION TfrxComponentProperty : public TfrxPropertyEditor 
{
	typedef TfrxPropertyEditor inherited;
	
public:
	virtual TfrxPropertyAttributes __fastcall GetAttributes(void);
	virtual AnsiString __fastcall GetValue();
	virtual void __fastcall GetValues(void);
	virtual void __fastcall SetValue(const AnsiString Value);
public:
	#pragma option push -w-inl
	/* TfrxPropertyEditor.Create */ inline __fastcall virtual TfrxComponentProperty(Frxclass::TfrxCustomDesigner* Designer) : TfrxPropertyEditor(Designer) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TfrxPropertyEditor.Destroy */ inline __fastcall virtual ~TfrxComponentProperty(void) { }
	#pragma option pop
	
};


class DELPHICLASS TfrxNameProperty;
class PASCALIMPLEMENTATION TfrxNameProperty : public TfrxStringProperty 
{
	typedef TfrxStringProperty inherited;
	
public:
	virtual TfrxPropertyAttributes __fastcall GetAttributes(void);
public:
	#pragma option push -w-inl
	/* TfrxPropertyEditor.Create */ inline __fastcall virtual TfrxNameProperty(Frxclass::TfrxCustomDesigner* Designer) : TfrxStringProperty(Designer) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TfrxPropertyEditor.Destroy */ inline __fastcall virtual ~TfrxNameProperty(void) { }
	#pragma option pop
	
};


class DELPHICLASS TfrxColorProperty;
class PASCALIMPLEMENTATION TfrxColorProperty : public TfrxIntegerProperty 
{
	typedef TfrxIntegerProperty inherited;
	
public:
	virtual TfrxPropertyAttributes __fastcall GetAttributes(void);
	virtual bool __fastcall Edit(void);
	virtual AnsiString __fastcall GetValue();
	virtual void __fastcall GetValues(void);
	virtual void __fastcall SetValue(const AnsiString Value);
	virtual void __fastcall OnDrawLBItem(Controls::TWinControl* Control, int Index, const Types::TRect &ARect, Windows::TOwnerDrawState State);
	virtual void __fastcall OnDrawItem(Graphics::TCanvas* Canvas, const Types::TRect &ARect);
public:
	#pragma option push -w-inl
	/* TfrxPropertyEditor.Create */ inline __fastcall virtual TfrxColorProperty(Frxclass::TfrxCustomDesigner* Designer) : TfrxIntegerProperty(Designer) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TfrxPropertyEditor.Destroy */ inline __fastcall virtual ~TfrxColorProperty(void) { }
	#pragma option pop
	
};


class DELPHICLASS TfrxFontProperty;
class PASCALIMPLEMENTATION TfrxFontProperty : public TfrxClassProperty 
{
	typedef TfrxClassProperty inherited;
	
public:
	virtual bool __fastcall Edit(void);
	virtual TfrxPropertyAttributes __fastcall GetAttributes(void);
public:
	#pragma option push -w-inl
	/* TfrxPropertyEditor.Create */ inline __fastcall virtual TfrxFontProperty(Frxclass::TfrxCustomDesigner* Designer) : TfrxClassProperty(Designer) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TfrxPropertyEditor.Destroy */ inline __fastcall virtual ~TfrxFontProperty(void) { }
	#pragma option pop
	
};


class DELPHICLASS TfrxFontNameProperty;
class PASCALIMPLEMENTATION TfrxFontNameProperty : public TfrxStringProperty 
{
	typedef TfrxStringProperty inherited;
	
public:
	virtual TfrxPropertyAttributes __fastcall GetAttributes(void);
	virtual void __fastcall GetValues(void);
public:
	#pragma option push -w-inl
	/* TfrxPropertyEditor.Create */ inline __fastcall virtual TfrxFontNameProperty(Frxclass::TfrxCustomDesigner* Designer) : TfrxStringProperty(Designer) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TfrxPropertyEditor.Destroy */ inline __fastcall virtual ~TfrxFontNameProperty(void) { }
	#pragma option pop
	
};


class DELPHICLASS TfrxFontCharsetProperty;
class PASCALIMPLEMENTATION TfrxFontCharsetProperty : public TfrxIntegerProperty 
{
	typedef TfrxIntegerProperty inherited;
	
public:
	virtual TfrxPropertyAttributes __fastcall GetAttributes(void);
	virtual AnsiString __fastcall GetValue();
	virtual void __fastcall GetValues(void);
	virtual void __fastcall SetValue(const AnsiString Value);
public:
	#pragma option push -w-inl
	/* TfrxPropertyEditor.Create */ inline __fastcall virtual TfrxFontCharsetProperty(Frxclass::TfrxCustomDesigner* Designer) : TfrxIntegerProperty(Designer) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TfrxPropertyEditor.Destroy */ inline __fastcall virtual ~TfrxFontCharsetProperty(void) { }
	#pragma option pop
	
};


class DELPHICLASS TfrxModalResultProperty;
class PASCALIMPLEMENTATION TfrxModalResultProperty : public TfrxIntegerProperty 
{
	typedef TfrxIntegerProperty inherited;
	
public:
	virtual TfrxPropertyAttributes __fastcall GetAttributes(void);
	virtual AnsiString __fastcall GetValue();
	virtual void __fastcall GetValues(void);
	virtual void __fastcall SetValue(const AnsiString Value);
public:
	#pragma option push -w-inl
	/* TfrxPropertyEditor.Create */ inline __fastcall virtual TfrxModalResultProperty(Frxclass::TfrxCustomDesigner* Designer) : TfrxIntegerProperty(Designer) { }
	#pragma option pop

⌨️ 快捷键说明

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