Hi,
I'm working on a program that uses 10 textfields, these have to be filled at a certain time (with a button), the strings are in an array.
Now I was wondering if it would be possible to use a for-loop to fill the textfields ??
I've named the textfields q1 to q10. and the array goes from array[1] to array[10]..
ofcourse q1 has to have the value of array[1]:
for i:=1 to 10 do begin
q+ i +.text := array;
end;
THIS obviously doesn't work, but isn't there a way??
Thanks so much,
math
I'm working on a program that uses 10 textfields, these have to be filled at a certain time (with a button), the strings are in an array.
Now I was wondering if it would be possible to use a for-loop to fill the textfields ??
I've named the textfields q1 to q10. and the array goes from array[1] to array[10]..
ofcourse q1 has to have the value of array[1]:
for i:=1 to 10 do begin
q+ i +.text := array;
end;
THIS obviously doesn't work, but isn't there a way??
Thanks so much,
math