delphi 如何设置文件属性


本文整理自网络,侵删。

 delphi 如何设置文件属性

procedure TForm1.Button1Click(Sender: TObject);
begin
with OpenDialog1 do
if Execute then
if SetFileAttributes(PChar(Filename), FILE_ATTRIBUTE_HIDDEN) then
Caption:='attribute was changed'
else
Caption:='attribute was not changed';
end;

相关阅读 >>

Delphi android 启动卡死处理方法

Delphi cxgrid使用小结

Delphi 将memo转化为jpg输出

Delphi edit控制字居中,居左,居右

Delphi makeuniquefilename 创建文件名如果已经存在自动更改文件名

Delphi android 拨打电话

Delphi 如何把程序钉到windows7任务栏(修正版)

tmsweb core 组件居中显示

Delphi 从字符串中提取单词、从字符串中提取汉字的函数

Delphi 获取网卡mac代码可用2020.01.22

更多相关阅读请进入《Delphi》频道 >>



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...