Ask a Question

Map object from screen

LindaZhong
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.

2016-06-22_181150.png

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?

2016-06-22_182146.png

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

Linda Zhong
7 REPLIES 7
jpnjordan
Occasional Contributor

Hi Linda,

 

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

 

Jason

 

 

baxatob
Community Hero

Please refer to this articles: https://support.smartbear.com/viewarticle/75829/

Colin_McCrae
Community Hero

*IGNORE*

 

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

LindaZhong
Occasional Contributor

Hi jpnjordan,

 

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

Linda Zhong
LindaZhong
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.

2016-06-23_091823.png

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.

cancel
Showing results for 
Search instead for 
Did you mean: