Einzelnen Beitrag anzeigen

Tyrael Y.

Registriert seit: 28. Jul 2003
Ort: Stuttgart
1.093 Beiträge
 
Delphi 2007 Professional
 
#20

Re: Überprüfen ob Datei vorhanden ist...

  Alt 19. Dez 2005, 12:47
...so sieht es bissel übersichtlicher aus, oder?

  dxbutton1.Enabled := (FileExists(ExtractFileDir(ParamStr(0)) +'\list1.txt')) and (FileExists(ExtractFileDir(ParamStr(0)) +'\list2.txt'));
Levent Yildirim
Erzeugung von Icons aus Bildern:IconLev
  Mit Zitat antworten Zitat