Ver Mensaje Individual
  #3  
Antiguo 19-10-2006
Avatar de seoane
[seoane] seoane is offline
Miembro Premium
 
Registrado: feb 2004
Ubicación: A Coruña, España
Posts: 3.717
Reputación: 26
seoane Va por buen camino
Utiliza algo como esto:
Código Delphi [-]
var
  i: integer;
  C: TComponent;
begin
  for i:= 1  to 10 do
  begin
    C:= FindComponent('Label'+IntTostr(i));
    if (C <> nil) and (C is TLabel) then
      TLabel(C).Caption:= 'A';
  end;
end;
Responder Con Cita