- 我在TDataModule上放置了TImageCollection,在Form1上放置了TVirtualImageList
- 向TImageCollection添加了几个图像,并将TVirtualImageList链接到TImageCollection。一切都很完美
- 添加从Form1派生的Form2
- 当尝试保存新的Form2时,我收到以下消息:"无法将TVirtualImageListItem分配给TVirtual ImageListItem">
只需双击Form2上的TVirtualImageList,单击"清除并确定"。