Schau dir den Code doch mal genau an, da steht doch alles drin.
Delphi-Quellcode:
var list : TObjectList
image : TImage;
begin
list := TObjectList.Create;
list.Add(TImage.Create(nil));
image := TImage(list.get(0)); //<--
....
....
end;
An der markierten Stelle wird das 1. Element aus der Liste geholt und zu einem TImage gecastet.
Axel Sefranek
A programmer started to cuss, cause getting to sleep was a fuss.
As he lay there in bed, looping round in his head
was: while(!asleep()) ++sheep;