Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Answered

menu item button to close form

Posted on by 11,871

I have a  menu item button and I need to perform close form action when it is clicked , how can I perform this ?

  • Denis Macchinetti Profile Picture
    Denis Macchinetti 16,444 on at
    RE: menu item button to close form

    Great

    Please, also for others tick the answer as verified.

  • maram fraij Profile Picture
    maram fraij 11,871 on at
    RE: menu item button to close form

    Yes thank you

  • Denis Macchinetti Profile Picture
    Denis Macchinetti 16,444 on at
    RE: menu item button to close form

    Hi Maram

    The above answer helped you on your requirement?

  • Verified answer
    Denis Macchinetti Profile Picture
    Denis Macchinetti 16,444 on at
    RE: menu item button to close form

    Hi

    Override the method clicked, comment the Super() called and write "element.closeOk();"

    Override the method clicked, comment the Super() and write "element.closeOk();"

    Alternatively, use a CommandButton and set the Command property to Close

Helpful resources

Quick Links

Can you answer this forum question?

You could make someone's day!

Community Newsletter - May 2024

Kudos to our community stars!

Community Spotlight of the Month

Kudos to Mohamed Amine Mahmoudi!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 283,632 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 224,528 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,146

Featured topics

Product updates

Dynamics 365 release plans