Forum Discussion
- Colin_McCraeCommunity Hero
What type of menu? There are many. They don't all behave the same.
Web? Desktop? Language used? Class of the control? You don't give much info ....
- r_ahmakovOccasional Contributor
sorry...
The tested program is in delphi language and the menu is VCL.Menu.TMainMenu.
- Colin_McCraeCommunity 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_McCraeCommunity 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.
Related Content
- 12 years ago
- 5 years ago
Recent Discussions
- 2 days ago
- 8 days ago
- 11 days ago