procedure TForm1.TrackBar1Change(Sender: TObject);
var
i : integer ;
t : TComponent ;
v : Single ;
begin
v := TrackBar1.Value ;
for i := 1 to 10 do begin
t := FindComponent('ReflectionEffect'+IntToStr(i));
if (t <> nil) then
TReflectionEffect(t).Length := v ;
end;
end;