acces directly frxmemoview
I have this code, it works but it wanted to optimize it because it is not ideal
It wanted to acces to the object directly, I can do something like that
thanks
for i := 0 to sender.Objects.Count - 1 do begin
        loc_frxComp := tfrxcomponent(sender.Objects[i]);
        if (loc_frxComp is TfrxMemoView) and (copy( loc_frxcomp.name,1,8) = 'frxtalla') Â
        then begin
          tfrxmemoview(loc_frxcomp).visible := false;                                                         Â
        end;
  end;
It wanted to acces to the object directly, I can do something like that
    for i:=0 to 15 do
    begin
        tfrwmemoview( 'frxtalla'+inttostr(i) ).visible := false;  //  This does not work
    end
thanks
Comments
It looks better but if you want speed optimization it is better first code.
Depends on what do you want to optimize.