DELPHI中怎样取的文件的属性? DELPHI中怎样取的文件的属性? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 下面的方法可以得到attr:=filegetattr(filelistbox1.filename); if (attr and faReadonly)=faReadonly then ... //只读 if (attr and faSysfile)=faSysfile then ... //系统 if (attr and faArchive)=faArchive then ... //存档 if (attr and faHidden)=faHidden then ... //隐藏 StringGrid,如何能让第一行(固定行)的行高、列宽不同于其行? 如何取得Vista系统的输入法 拦截键盘按键消息,并转发其他程序 救一下急,老兄们 怎么实现在主窗体产生时出现一个象hint那样的提示,并且5秒钟后自动消失呢? 如何加密图片? ClientSocket的问题,急需,请帮忙!! 查找时为什么说 Field cannot found? delphi新手问题多了请大家多多包含~ . .*^_^* delphi调用c#写的dll问题 各位帮忙,怎么把SQL server的数据导到Access中啊? 怎么判断程序所在目录某个文件是否存在?
attr:=filegetattr(filelistbox1.filename);
if (attr and faReadonly)=faReadonly then ... //只读
if (attr and faSysfile)=faSysfile then ... //系统
if (attr and faArchive)=faArchive then ... //存档
if (attr and faHidden)=faHidden then ... //隐藏