会员: 密码:  免费注册 | 忘记密码 | 会员登录 网页功能: 加入收藏 设为首页 网站搜索  
源代码 > Delphi代码 > 系统控制
使用file-mapping来使两个以上的程序共享TStringList,因此,所有的变量都可以转换成文本
发表日期:2003-10-10 12:00:00文件大小:22504 下载次数:3134  

代码说明: PBShareMap is an easy-to-use component that uses file-mapping to let 2 or more applications share a TStringList and thereby all variables that can be converted to text (use the Name=Value approach). Default property Values makes it easy to store and access variables. It is used like this: PBShareMap1['MyVar'] := MyVar; and accessing: MyVar := PBShareMap['MyVar']; The applications can be instances of the same application or different applications (each with PBShareMap component). Set 'AutoSynchronize' to true and changing the list in one application automatically updates the other(s). 'ExistsAlready' can be used to limit your application to one instance. Multiple PBShareMaps can be on one Form. Applist automatically holds the handles of all Owner-forms using the same map. Context-sensitive help is included.

立即下载

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

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