会员: 密码:  免费注册 | 忘记密码 | 会员登录 网页功能: 加入收藏 设为首页 网站搜索  
源代码 > Delphi代码 > 系统控制
提供一个窗体,能够从资源管理器中接受文件的拖放
发表日期:2003-10-10 12:00:00文件大小:16468 下载次数:1728  

代码说明: This component provides a window which can accept files dragged and dropped from File Manager or Explorer. The window takes on the appearance of its parent window, although anything drawn on the parent's canvas is obliterated. The control can contain child components (in a similar way to TPanel components). Files dropped over any such child component are accepted by the parent TPJDropFiles component. The TPJDropFiles component can be aligned with the form on which it is placed using the Align property. When files from File Manager or Explorer are dropped over this component the OnDropFiles event is triggered. The names of the files are recorded in the Files property and the number of files dropped is held in the Count property.

立即下载

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

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