ray_mosley
10 years agoFrequent Contributor
Menu object spy recognition fails with VCLObject menus
I have been following the Unable to find Objects inside the main application thread. My situation is similar, except the Object Spy does not recognize menu objects as VCLObjects, just Windows objects.
The application is an old Delphi application where the main module starts a submodule. This submodule has the MainMenu property to choose options. However, when you use the point and fix option to determine what it is, the answer is always the same (except for Handle & Id, which vary with each instance). Refer to the attached file.
How do I get the Object Spy to recognize VCL menu objects?