Quote Originally Posted by hammer
... if i recall it was no problem using the write(f,record_type) atleast in pascal worked ?!??!?!?!
Yes, you can write record types like that (unless the record contains pointers,) but in Delphi a class is in fact a pointer to the actual class. When you write Thing := TThing.Create; Delphi allocates memory for the new TThing object and stores a pointer to it in Thing.

The TBitmap member isn't necessary, because TImageSprite already stores a TPictureCollectionItem reference.