Einzelnen Beitrag anzeigen

Benutzerbild von MrSpock
MrSpock
(Co-Admin)

Registriert seit: 7. Jun 2002
Ort: Owingen
5.865 Beiträge
 
Delphi 2010 Professional
 
#9
  Alt 28. Mär 2003, 14:19
Hallo Hansa,

wie gesagt, dabei hilft FindComponent:

Delphi-Quellcode:
for i := 10 to 20 do
begin
   compo := FindComponent('Edit'+IntToStr(i));
   if (compo <> Nil) and (copmo is TEdit) then
      { Hier bearbeiten ...}
end;
Albert
Live long and prosper


MrSpock
  Mit Zitat antworten Zitat