I have a program with two TForm classes and have added a TMainMenu to them each. I am then trying to merge them dynamically at run-time.
My problem is that when they merge the menu items in the merged in TMainMenu now display images stored in the imagelist in the form they were merged into rather than the images stored in their original form's imagelist.
Am I doing something wrong? is there a work around so that the menu item's continue to use the imagelist in the form they originated from?
I use the merged-in form in a number of projects, otherwise a single shared imagelist would make sense.
If I need to clarify anything, please say.
Thanks
Peter