SpeedDemon
Programmer
Hi all, how do you generate an object reference on the fly?
For example, if you have a text box called text1 and another called text2
how could I do the following loop:
for i:=1 to 2 do
begin
text.enabled := False;
end;
Where the loop sets the 'enabled' property of text1 and text2 to false. Please help.
Thanks!
For example, if you have a text box called text1 and another called text2
how could I do the following loop:
for i:=1 to 2 do
begin
text.enabled := False;
end;
Where the loop sets the 'enabled' property of text1 and text2 to false. Please help.
Thanks!