Is this based on the latest version v10.2.5 of TMS VCL UI Pack?
Afaik, there are no icon resources in TMS VCL UI Pack.
Yes, I'm using version 10.2.5.0
Could it be from the TMS Instrumentation Workshop or TMS Async32 packages?
How does this icon look?
I cannot see these icons would be coming from our components.
We also typically give resources names and not numbers as name.
Again, if you use only a clean setup of the latest TMS VCL UI Pack v10.2.5 release, there should be NO icons.
I mentioned it already, there must be old version resources on your system that get linked.
With a clean setup of TMS VCL UI Pack, there is NO extra icon added.
I especially double-checked / retested and as you can see , it DOES NOT add extra icons, it only adds bitmaps.
What resource tool are you using in the above screenshot by the way?
We inspect EXE resources with Greenfish
With the TMS VCL UI Pack v10.2.5.0 we cannot reproduce this and see no reason whatsoever that TAdvStringGrid would add an icon. There are no icons in its resources.
Another test & proof:
The issue seems to be some weird combination of TMS grids and Delphi XE.
I added the same ico file into the project manager and as expected there is a
second MAINICON entry now. But... both that one and the "real" one are
now populated correctly! If I remove the extra icon from the resources
it reverts back to the wrong icon set. So the work around seems to be to
have the extra icon entries. Thanks for your replies on this.
I cannot understand this behavior.
I can't help thinking there is still a mixup of old version files / incorrect files on your system.
The same test with Delphi 220.127.116.11doesn't have the issue, so it must be a quirk in XE ?
I cannot explain this.
The resources used in TAdvStringGrid do not differ between using it in Delphi XE and Delphi 10.3