So habe ich das jetzt versucht umzusetzten:
Für EditFelder auf einer anderen Form (namens QuickLink):
Delphi-Quelltext
1:
| QuickLink.FindComponent ('Programm' + IntToStr (i))as TEdit.Text := ProgrammLink; |
Da zeigt er folgenden Fehler beim compilieren an:
| Zitat: |
| [Error] Programm.pas(280): E2015 Operator not applicable to this operand type |
Dies habe ich dann auch mit der anderen Möglichkeit ausprobiert, die der andere bei seinem Problem auch hatte (siehe link oben):
Delphi-Quelltext
1:
| TEdit (QuickLink.FindComponent ('Programm' + IntToStr(i))).Text := ProgrammLink; |
| Zitat: |
| [Error] Programm.pas(282): E2066 Missing operator or semicolon |
Hier ein weiterer Versuch. Die Komponenten befinden sich auf der gleichen Form wie das andere oben auch.
Delphi-Quelltext
1:
| (QuickLink.FindComponent ('ProgrammBox' + IntToStr (i)) as TCheckBox).Checked := True; |
Zeigt auch nix an, erst beim Compilieren gibt es folgende Fehlermeldung von Windows:
| Zitat: |
| Access violation at address 0041A12C in module 'Projekt__Programm.exe' Read of address 00000010. |