Ver Mensaje Individual
  #4  
Antiguo 12-02-2013
Avatar de champy
champy champy is offline
Miembro
 
Registrado: sep 2003
Ubicación: Alicante, España
Posts: 75
Reputación: 21
champy Va por buen camino
Supongo que habrán distintas formas de hacerlo pero yo utilizaría la función FindComponent('NombreDelComponente'), algo así.

Código Delphi [-]
Procedure CambiarHeight;
var
  Shap : Tshape;
  N : Integer;
begin
  For N := 1 to 5 do
  begin
    (FindComponent('Shape'+IntTosTr(N)) as Tshape).Height := 100;
  end;
End;
Responder Con Cita