Hi,
I have a form with a lot of TEdits. I would like to fill the text property of each of them through a for statement.
I can't figure out how to refer to the specific TEdit dynamically. I know I can use an array of TEdit but isn't there another solution like:
But then something that does work!
Thanks,
Raoul
I have a form with a lot of TEdits. I would like to fill the text property of each of them through a for statement.
I can't figure out how to refer to the specific TEdit dynamically. I know I can use an array of TEdit but isn't there another solution like:
Code:
for i := 1 to 45 do
('P'+i as TEdit).Text := ....
But then something that does work!
Thanks,
Raoul