Bug in TImageList?!
I do not dare to post this as bug, because I have no idea, how to reproduce.
In my form1 there is a TImageList1 filled with many icons.
All through my app I use it:
I set "images" to ImageList1.
This is true in my case for TSpeedButton and for TPageControl.
Then I chose a number of the ImageList1 and the icons are in both cases shown fine.
For days, for weeks, for months.
Then one day I open an frame, where I used it, and all the images are gone.
I say to myself, "haven't I done this already"? and restart the process.
Surprise!
The moment I re-set the property images of the TSpeedButton or TPageControl,
all my icons re-appear with their correct number.
In other words: Anything seems to remove the property "images".
As this is true for TSpeedButton as well as for TPageControl, I cannot guess, where the problem may come from.
I am sorry, that I have no idea, which causes this, as it works fine for a long time.
However, this has happened so often, that it cannot be my mistake any more.
Sorry, I cannot make a "simple project".
You would end up in opening it and say "all looks fine".
It looks fine for me as well, - for a long time.
The lost image-links have nothing in common. It happened all over my project.