如何给VCL组件添加属性页? 如何给VCL组件添加属性页?请高手指点 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 publish property XXXXX:XXX; read XXXX write XXX default X; TSetMoney = class(TComponent) private { Private declarations } FUserChar: string; //用户登录后分配的特征字 FUserCode: integer; //用户登录后代码 FAddress: string; //服务器地址 FHost: string; //服务器名称 FConnectionString: string; //服务器连接串 FModuleName: string; //模块名称 FMainServer: string; //数据库服务器 protected { Protected declarations } public { Public declarations } constructor Create(AOwner: TComponent; aContainer: TWinControl; Attrs: TMoenyAttributes); destructor Destroy; override; function GetSvr: OleVariant; //获取数据库服务器 function ActivateForm(aOwner: TComponent; aContainer: TWinControl): TForm; //创建"设置外币"对象实例 function GetBWB: OleVariant; // 获取本位币信息,币种代码<=100 function GetWB: OleVariant; // 获取外币外币信息,币种代码>100 function GetYHXX: OleVariant; //获取用户信息 function GetMoneyRate: OleVariant; //获取币种汇率 function GetTheMoneyRate(MoneyID: integer): OleVariant;//获取指定币种汇率 function GetNewMoneyID: integer; //获取币种代码 procedure PostMoneyData(cdsMoney, cdsMoneyRate: TClientDataSet);//提交数据 function GetStartTime: TDateTime; //获取币种起始时间 function GetDBType: integer; //获取数据库类型 function getcopysvr(CLSID:String):variant; //连接服务器,进行同步复制 published { Published declarations } property UserChar: string read FUserChar write FUserChar; property UserCode: integer read FUserCode write FUserCode; property Address: string read FAddress write FAddress; property Host: string read FHost write FHost; property ConnectionString: string read FConnectionString write FConnectionString; property ModuleName: string read FModuleName write FModuleName; property MainServer: string read FMainServer write FMainServer; end; 我说的是属性页,并非属性!就像ActiveX组件在IDE中鼠标右键菜单可以弹出属性页对话框一样,VCL怎么做到? exe文件的MD5值保存到哪里呢? 求助:正在改造一个旧项目,却没有DELPHI4环境 TIDTcpClient的问题,帮忙啊 什么样的条件才能找到一份Delphi程序员的工作? 关于fastreport问题,非常急,请大侠帮忙,不胜感激!(65分) 如何包装系统函数 如何将10.939439转成10.93 一个关于mainmenu的问题!!!!!!! 俺用 Wininet 设置了SSL证书,为什么还是返回 False 这是难题吗?(有谁遇到过) 疑惑,笔误?高手请进。 再求一sql脚本语句写法
property XXXXX:XXX; read XXXX write XXX default X;
private
{ Private declarations }
FUserChar: string; //用户登录后分配的特征字
FUserCode: integer; //用户登录后代码
FAddress: string; //服务器地址
FHost: string; //服务器名称
FConnectionString: string; //服务器连接串
FModuleName: string; //模块名称
FMainServer: string; //数据库服务器
protected
{ Protected declarations }
public
{ Public declarations }
constructor Create(AOwner: TComponent; aContainer: TWinControl; Attrs: TMoenyAttributes);
destructor Destroy; override;
function GetSvr: OleVariant; //获取数据库服务器
function ActivateForm(aOwner: TComponent; aContainer: TWinControl): TForm; //创建"设置外币"对象实例
function GetBWB: OleVariant; // 获取本位币信息,币种代码<=100
function GetWB: OleVariant; // 获取外币外币信息,币种代码>100
function GetYHXX: OleVariant; //获取用户信息
function GetMoneyRate: OleVariant; //获取币种汇率
function GetTheMoneyRate(MoneyID: integer): OleVariant;//获取指定币种汇率
function GetNewMoneyID: integer; //获取币种代码
procedure PostMoneyData(cdsMoney, cdsMoneyRate: TClientDataSet);//提交数据
function GetStartTime: TDateTime; //获取币种起始时间
function GetDBType: integer; //获取数据库类型
function getcopysvr(CLSID:String):variant; //连接服务器,进行同步复制
published
{ Published declarations }
property UserChar: string read FUserChar write FUserChar;
property UserCode: integer read FUserCode write FUserCode;
property Address: string read FAddress write FAddress;
property Host: string read FHost write FHost;
property ConnectionString: string read FConnectionString write FConnectionString;
property ModuleName: string read FModuleName write FModuleName;
property MainServer: string read FMainServer write FMainServer;
end;