标签:mcr ctrl dir edit object create text file style
delphi7
if not DirectoryExists(Edit1.Text) then 判断目录是否存在 begin //判断目录不存在 end;
delphi 10.3
uses FileCtrl; procedure TForm4.FormCreate(Sender: TObject); begin if not FileCtrl.DirectoryExists(‘C:\temp‘) then showmessage(‘目录不存在‘); end;
标签:mcr ctrl dir edit object create text file style
原文地址:https://www.cnblogs.com/tulater/p/13986449.html