16,743
社区成员
发帖
与我相关
我的任务
分享
function GetFullFileName(Const FileName : String) : string;
begin
Result := FileName + '.jpg';
if not FileExists(Result) then begin
Result := FileName + '.gif';
if not FileExists(Result) then begin
Result := FileName + '.tif';
if not FileExists(Result) then Result := '';
end;
end;
end;