CnPack Forum

#1 控件注册运行期问题, 有点急有点急....
有一个这样的问题, 我写一个新控件, 新控件有一个属性为TMEMO类型的, 类如下图
TsnCodeEdit = class(TPanel)
private
FMemo: TMemo;
FCCDDA: TAABBB;
procedure SetMemo(Value: TMemo);
public
constructor Create(AOwner: TComponent); override;
destructor Destroy; override;
published
property Memo: TMemo read FMemo write SetMemo stored True;
end;

constructor TsnCodeEdit.Create(AOwner: TComponent);
begin
inherited;
FMemo := ..

#1 >>Next Page

Forum:CnVCL 组件包
Thread:控件注册运行期问题, ...
Next Thread:2010下组件页面无法显 ...

Home
Login

Powered by Discuz!