I'm trying to change the icon of a sub form at run time, I'm using the following code....
ImageList1.GetBitmap(0, Image1.Picture.BitMap);
Form2.Icon.Assign(Image1.Picture.Graphic);
....but I get an access violation error when I compile. There is definitely an image in ImageList1 and Image1 is declared under TForm2 = class(TForm).
I'm beginning to think that it's not possible to change a sub form icon.