Wieso geht das so nicht? wenn rechts = 3 und sender = image2 ist! und
Delphi-Quellcode:
begin
tImage(FindComponent('image'+rechts)).Picture := (sender as TImage).picture;
(sender as TImage).picture := nil;
end;
Aber so
Delphi-Quellcode:
begin
image3.Picture := image2.picture;
image2.picture := nil;
end;