Autor Beitrag
BigBossMan
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 32



BeitragVerfasst: Do 12.08.04 20:01 
Hallo Leute !

Habe das jetzt so geschrieben, aber es speichert nur bei einer Form ab !!!

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
procedure TFormMain.FileSaveAll1Execute(Sender: TObject);
var
 i,e: Integer;
begin
 for i := 0 to length(DynForms)-1 do
 begin
  for e := 0 to length(DynEd)-1 do
  DynEd[e].Lines.SaveToFile(DynForms[i].Caption);
 end;
end;


Wie mach ich es das es bei allen offenen Forms speichert ?

Danke im voraus.

Mfg

Moderiert von user profile iconMotzi: Code- durch Delphi-Tags ersetzt.
Tino
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Veteran
Beiträge: 9839
Erhaltene Danke: 45

Windows 8.1
Delphi XE4
BeitragVerfasst: Do 12.08.04 21:22 
Kannst du bitte in Zukunft die Titel etwas unterschiedlicher wählen? So kurz hinter einander existieren jetzt zwei Topics mit der gleichen Überschrift aber einem anderen Problem.

Danke!

Gruß
Tino
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Do 12.08.04 21:31 
Screen.FormCount \ Screen.Forms

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.