Quote Originally Posted by HopeDagger
You managed to change the captions because all controls have this property. Not all controls have a 'Picture' member, so you need to type-cast the control to a TImage, first. Even though you already know that it's a TImage, the compiler can only assume (unless you tell it otherwise) that it's just a regular control object.

Code:
for i:=1 to 10 do
TImage(formname.ControlByName('timagename'+inttostr(i))).Picture.LoadFromFile('file.bmp');
Thanks
It works^_^