会员: 密码:  免费注册 | 忘记密码 | 会员登录 网页功能: 加入收藏 设为首页 网站搜索  
源代码 > Delphi代码 > 窗体界面
从TObject派生的列表集合类
发表日期:2003-10-10 12:00:00文件大小:11594 下载次数:1850  

代码说明: 从TObject派生的列表集合类 Delphi has included a collection class from its initial release, TList. Unfortunately, the implementation chosen focused on using Pointer as opposed to references. This creates a problem in attempting to use TList to contain descendents of TObject. Every time TList is used to submit an instance for later retrieval, a case of Pointer(...) is required. Retrieval involves casting the returned Pointer into the appropriate class.

立即下载

返回顶部】 【打印本页】 【关闭窗口

关于我们 / 给我留言 / 版权举报 / 意见建议 / 网站编程QQ群   
Copyright ©2003- 2024 Lihuasoft.net webmaster(at)lihuasoft.net 加载时间 0.00241