Ask a Question

Map object from screen

Occasional Contributor

Map object from screen

I try to map objects in main menu from screen, but the objects inside the main menu is not able to highlight, only the main menu can be highlighted.


Then, I go to the Object Browser, I can see the ChildCount of the Main menu is 0, but there are menu items in the main menu, why the ChildCount is 0? How to map those menu items?


Can someone tell me How I can map those menu items here? Thanks in advance!

Linda Zhong
Occasional Contributor

Hi Linda,


Does your toolbar have the "wItems" property? Should be in the Extended group whilst in Advanced View.





Community Hero

Please refer to this articles:

Community Hero



I was looking at the toolstrip, not the menu bar ....

Occasional Contributor

Hi jpnjordan,


I check the Advanced view, there is no wItems property.

Linda Zhong
Occasional Contributor

Hi baxatob


Thanks for the link.

Yes, I can select the menu items by simulating the keyboard shortcut. But for some icons that has no keyboard shortcut, I still can't map them, like the icons inside the highlight object in below picture.


Linda Zhong

Suspect thats a small tool strip. Different type of control.


I have to work by captions with those. But that's in Delphi ....

For something like the icons, we found that there were no text or labels for the buttons, just an index number.

[Community Hero]
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
Showing results for 
Search instead for 
Did you mean: