DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I get info. about "shortcut menu"

I can get the menuitem title just like below

 :

  call MenuItemInfoGet("SCRIPT", "M.1")
  MsgBoxDisp(MenuItemTitle)

 

but for the shortcut menu , I can't get the menu tiltle like, use"c" instead of "m":

 

  call MenuItemInfoGet("SCRIPT", "C.1")
  MsgBoxDisp(MenuItemTitle)

 

Why?

0 Kudos
Message 1 of 3
(3,560 Views)

Hi Chian,

 

MenuItemInfoGet is not supported for shortcut menus because this kind of menu is dynamic. That means, depending on the context or customizing a shortcut menu can have more or less entries. So it could happen that you get back information's which you are not expecting (in case of supporting shortcuts with MenuItemInfoGet).

 

Greetings

Walter

0 Kudos
Message 2 of 3
(3,544 Views)

The version 11.0.0f3436 was used, so the help need be updated.

 

Then how can i access shortcut menu?

 

I want to change shortcut menu title to Chinese.

 

MenuItemChange  can work to menu/submenu, but to shortcut menu, it doesn't work.

 

 

MenuItemChange  "NAVIGATOR","1","文件"  

 

0 Kudos
Message 3 of 3
(3,538 Views)