怎样在设计时向From中添加控件?就像这个控件一样:http://www.delphifly.com/cn/compent/dispdoc.asp?id=284

  • 主题发起人 主题发起人 iamfish
  • 开始时间 开始时间
I

iamfish

Unregistered / Unconfirmed
GUEST, unregistred user!
怎样在设计时向From中添加控件?就像这个控件一样:http://www.delphifly.com/cn/compent/dispdoc.asp?id=284(20分)<br />怎样在设计时向From中添加控件?就像这个控件一样:http://www.delphifly.com/cn/compent/dispdoc.asp?id=284
 
请帮帮忙啊!!!!!!!!!!!!!!!!!!!
 
运行时添加控件很简单的阿
比如
var
ctlLabel : TLabel;
begin
ctlLabel := TLabel.Create(Self);
ctlLabel.parent := self;
ctlLabel......
.....
...
end;

剩下的属性就你自己去设置就可以了嘛
其它的控件也都是一样的创建。

呵呵,是不是我理解错了?这么简单的回答,我都不好意思说
 
接受答案了.
 
后退
顶部