Autor Beitrag
SuperS
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 102

Win XP Home, Win XP Prof, Win 98

BeitragVerfasst: So 14.03.04 21:00 
Ich tät gern mal wissen, wie es funktioniert, dass man, wenn die Form erstellt wird (FormCreat),
dass sich eine bestimmte Datei öffnet. :?:
StefanH
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1144

Win XP
D5 Standard, D7 Pers, D2005 Pers
BeitragVerfasst: So 14.03.04 21:12 
in ein RichEdit? irgendeine? LoadFormFile

oder doch die, die mit deinem programm geöffnet werden sollte?

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
if ParamCount<>0 then
   begin
           if FileExists(ParamStr(1)) then
              RichEdit1.Lines.LoadFromFile(ParamStr(1));
   end;


MfG,

_________________
"Als es noch keine Computer gab, war das Programmieren noch relativ einfach."(Edsger W. Dijkstra)
"Ich bin nicht von Sinnen, sondern ich rede wahre und vernünftige Worte." (Paulus)