Forum Discussion

ray_mosley's avatar
ray_mosley
Frequent Contributor
10 years ago

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?

 

ObjectSpy_MenuObjects.jpg

2 Replies

  • ray_mosley's avatar
    ray_mosley
    Frequent Contributor

     

    SIGH>>>

     

    Neglected to mention that I am using TestComplete 9.3, but are in the process of upgrading to latest 10.

     

    The example I posted is our Windows 7 Application using the 9.3 Object Spy.