CnPack Forum


 
Subject: 脚本是否可以自己注册类?
ray2312
新警察
Rank: 1



UID 67480
Digest Posts 0
Credits 12
Posts 5
点点分 12
Reading Access 10
Registered 2012-3-21
Status Offline
Post at 2012-3-21 09:35  Profile | Blog | P.M. 
脚本是否可以自己注册类?

因为要用到某些类的关联,这些关联又全部都没有声明在publish里面,所以希望可以自己注册某些类,不知是否可行???
Top
ray2312
新警察
Rank: 1



UID 67480
Digest Posts 0
Credits 12
Posts 5
点点分 12
Reading Access 10
Registered 2012-3-21
Status Offline
Post at 2012-3-21 11:47  Profile | Blog | P.M. 
或者有谁知道,怎么才能访问到Public的属性么
Top
ray2312
新警察
Rank: 1



UID 67480
Digest Posts 0
Credits 12
Posts 5
点点分 12
Reading Access 10
Registered 2012-3-21
Status Offline
Post at 2012-3-21 13:12  Profile | Blog | P.M. 
=.= 用component.getparentcomponent也出错,我纠结啊。。。
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2012-3-21 13:16  Profile | Blog | P.M. 
在我们的IDE专家中暂时没法注册自己的类。只有在自己控制的脚本环境中才能注册。
楼上,是直接访问Owner吧?
Top
ray2312
新警察
Rank: 1



UID 67480
Digest Posts 0
Credits 12
Posts 5
点点分 12
Reading Access 10
Registered 2012-3-21
Status Offline
Post at 2012-3-22 15:08  Profile | Blog | P.M. 
不是呢,是TField和TDataSet的事情。。。
Top
 




All times are GMT++8, the time now is 2024-11-25 22:23

    本论坛支付平台由支付宝提供
携手打造安全诚信的交易社区 Powered by Discuz! 5.0.0  © 2001-2006 Comsenz Inc.
Processed in 0.008400 second(s), 9 queries , Gzip enabled

Clear Cookies - Contact Us - CnPack Website - Archiver - WAP