本文整理自网络,侵删。
单元:shellapi
strFileName := FcxLV[nIndex].Items.Item[FcxLV[nIndex].ItemIndex].SubItems.Strings[0]; //路径
ShellExecute(0, nil, PChar('explorer.exe'),PChar('/e, ' + '/select,' + strFileName), nil, SW_NORMAL);
相关阅读 >>
Delphi edgebrowser1 浏览器实现控制滚动条
Delphi : tstringlist的find,indexof和sort
更多相关阅读请进入《Delphi》频道 >>