2
  • I placed TImageCollection on TDataModule and TVirtualImageList on Form1.
  • Added a couple Images to TImageCollection and linked TVirtualImageList to TImageCollection. All is working perfect.
  • Add Form2 that descends from Form1.
  • When trying to save new Form2 I get this message: “Cannot assign a TVirtualImageListItem to a TVirtualImageListItem”.
David Heffernan
  • 601,492
  • 42
  • 1,072
  • 1,490
M Vukovic
  • 21
  • 1

1 Answers1

0

Just double click the TVirtualImageList on Form2, click Clear and OK.