Forum Discussion
sorry...
The tested program is in delphi language and the menu is VCL.Menu.TMainMenu.
- Colin_McCrae9 years agoCommunity Hero
Ah OK.
Hold on. I'm working on a Delphi app at the moment. But I don't have to use any menu bars. It's all tool bars in mine. (There are menu bars there though I think .... I just don't need to use them. Soon find out!)
I'll go have a look ....
- Colin_McCrae9 years agoCommunity Hero
You're out of luck I'm afraid.
All the strip menu's are in .NET parts of the application. (it's a mixture of .NET which launches Delphi EXE's - I'm working on testing the Delphi parts)
But my guess would be that the option names WILL be stored as a property somewhere. (Or possibly in the "Fields" info? A couple of Delphi controls have required me to dip in there as no property value was suitable or accurate.) You may need debug info enabled to expose it though. Hard to say without seeing one.
So in other words, you use the area where the option text is stored to work out the index numbers. Then use those calculated numbers to make your selection.
- r_ahmakov9 years agoOccasional Contributor
Thanks, but I am not sure what you exactly mean...
In Object Browser I'm able to see the MenuItem and it has a name VCLObject('Item_Import')
- but this still doesn't work: w.MainMenu.Click(File|Import|[0]|[0]|[0])
and this is in the additional info:
Total number of items: 12.
Items: '', '', '', '', '', '', '', '', '', '', '', ...
Aliases.luks.IDAKTControlAny idea?
Related Content
- 12 years ago
Recent Discussions
- 4 hours ago