社区
Delphi
帖子详情
ShellListView1怎么返回上一层目录?
haijun1130
2006-01-04 02:22:53
ShellListView1怎么返回上一层目录?
...全文
140
4
打赏
收藏
ShellListView1怎么返回上一层目录?
ShellListView1怎么返回上一层目录?
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
4 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
Allblus
2006-05-10
打赏
举报
回复
ShellListView1.back也可以
老之
2006-01-04
打赏
举报
回复
应该是s:=ShellListView1.RootFolder.PathName;
我把盘的根目录设为最顶端。
楼主可以根据需要设成rfMyComputer、rfDesktop,要另外处理。
haijun1130
2006-01-04
打赏
举报
回复
s:=ShellListView1.Root;
s的值总为:rfDesktop
是不是有问题呢,谢谢 liangqingzhi(老之)
老之
2006-01-04
打赏
举报
回复
重新设定路径
var i:integer;
s:string;
begin
s:=ShellListView1.Root;
for i:=length(s) downto 1 do
if (s[i]<>':')and(s[i]<>'\') then
s[i]:=#0
else
begin
if (s[i-1]<>':')and(s[i]='\') then s[i]:=#0;
break;
end;
ShellListView1.Root:=s;
end;
Delphi 多标签资源管理器.rar
Delphi 多标签资源管理器源码,用delphi7 开发,用到了
Shell
TreeView,
Shell
ListView
控件,自带
Shell
Ctrls.pas 文件,这个文件在本程序启动文件夹下,研究我的源代码要注意打开它,打开方法是在unit1单元头部uses ...
测试Delphi的批量打印功能.rar
测试Delphi的批量打印功能,这个批量打印据说用着很顺手,可批量打印文件,同时你也可研究下,Delphi开发环境...
Shell
Execute(handle, 'print', PChar(
Shell
ListView
1.Folders[i].PathName), 0, 0, 1) end; end;
AlphaControls 11.19 D5-XE10.1
AlphaControls :: history 08.10.2016 AlphaControls v11.19 Stable released * ColorTone, HUEOffset and Saturation properties added in the TsPanel.SkinData * The new ShowPopupMenu property added in ...
shell
controls.zip
shell
控件安装包,内含
shell
listview
,shelcombbox等控件的安装包以及示例,可在delphi xe10.2上安装运行
sjxDB
ListView
.pas
shell
listview
没找到搜索的功能,自己用cx
listview
+imagelist+TIdThreadComponent实现了一个,以供参考
Delphi
5,388
社区成员
262,730
社区内容
发帖
与我相关
我的任务
Delphi
Delphi 开发及应用
复制链接
扫一扫
分享
社区描述
Delphi 开发及应用
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章