Quantcast
Channel: AX Developer Forum
Viewing all articles
Browse latest Browse all 9880

Enable/disable MenuItemButton based on the Edit button of the Action Pane

$
0
0

 

Hi everybody,

I want to enable/disable a MenuItemButton based on the Edit Button (Represented with a pencil) of the Action Pane in AX 2012

I tried setting the initial value of the enabled property to false and in the clicked method of the edit button change it to the opposite value, but it will just work if the form is open in non edit mode. But in some forms like CustTable it could happen that the initial status could be the edit mode if you open it from CustTableListPage clicking its edit button.

How can I do that?

Thanks!

Viewing all articles
Browse latest Browse all 9880

Trending Articles