TcxShellListView添加文件

时间:2015-04-03 09:21:57   收藏:0   阅读:344
procedure TFormSystemTree.N29Click(Sender: TObject);
var
  tmpStr: string;
  // 添加文件..
begin
  if OpenDialog1.Execute() then
  begin
tmpStr := lvMain.Path + ‘\‘ + ExtractFileName(OpenDialog1.filename);
CopyFile(PWideChar(OpenDialog1.filename), PWideChar(tmpStr), True);
  end;
end;

原文:http://blog.csdn.net/singular2611/article/details/44839275

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!