Using index to access objects
In Fastscript/FastReport can you use to an index variable to build up the name of an object and then use it to access the properties of that object?
For instance, say I have a lot of memo objects named T1 through T30. Can a Fastscript variable (say 'i') be used to reference objects like in the pseudo code below?
for i := 1 to 30 do
begin
T.Color := clSilver;
end;
Thanks!
For instance, say I have a lot of memo objects named T1 through T30. Can a Fastscript variable (say 'i') be used to reference objects like in the pseudo code below?
for i := 1 to 30 do
begin
T.Color := clSilver;
end;
Thanks!
Comments