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.Originally Posted by hammer
The TBitmap member isn't necessary, because TImageSprite already stores a TPictureCollectionItem reference.
Bookmarks