Forum Discussion

arijken's avatar
arijken
New Contributor
2 hours ago

Loop through submenuitems

I have an Delphi application.
I got a mainmenu Item "files" with 14  subitems which are are categories and every categroy has Submenu items ant every item opens a form.

I like to loop through all Submenu items to open the form and to perform an insert, modify and delete action 
I am using Javascript 
The problem I have now is that I can't seem find the main menu 

 

2 Replies

  • rraghvani's avatar
    rraghvani
    Icon for Champion Level 3 rankChampion Level 3

    Is the Object Spy tool able to identify the menu? Are you able to see the properties? Can you provide screenshots?

  • arijken's avatar
    arijken
    New Contributor

    The mainmenu is not available in the object Spy. I cannot select the menu items in the object spy

    The application is written in Delphi 12