求答! 能告诉我Tform.create(Application); tform.create(self); tform.create(nill);是代表什么意思 吗!,及其区别,谢谢了 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 create(owner:tobject);组件的owner可以自动释放组件占用的资源,不指定owner:create(nill),form的资源需要自己释放 里面的参数是form的owner,在create链中,是在基类TComponent处理这个参数的constructor TComponent.Create(AOwner: TComponent);begin FComponentStyle := [csInheritable]; if AOwner <> nil then AOwner.InsertComponent(Self);///这里end 如何让GDI画出来的线在最顶层呀 谁有考Delphi认证的!帮帮忙啊! 终于开张了!:~~) Delphi中指针操作,调用C++的Dll,同时与VB调用比较,高手们进来吧 中国人看过来.太令人气愤了. 求一sql语句 在VC中的typedef void* test1用pascal如何表示? 如何编码实现NTFS格式下删除文件的恢复(结束篇) 急需InfoPower3000Pro序列号. 请问在delphi中如何表示10的二次方? 2个表结构相同,如何通过batchmove进行部分字段的更新 想用FastReport一份报表中打印两个表格,来源于两个数据表,并在最后一行进行合计
组件的owner可以自动释放组件占用的资源,不指定owner:create(nill),form的资源需要自己释放
constructor TComponent.Create(AOwner: TComponent);
begin
FComponentStyle := [csInheritable];
if AOwner <> nil then AOwner.InsertComponent(Self);///这里
end