Check how a form is closed

HenkeHenke Member Posts: 6
edited 2006-05-29 in Dynamics AX
Hi
How can I check if a form is closed with the (x) int the right corner of a form. I can detect if it's closed with the ESC-key by checking the closedCancel flag but not if it's closed with the (x).

Thanks in advance

Comments

  • RyuRyu Member Posts: 26
    Hi Henke,

    You can use the "Task" method in your form. This method allows to recover the ASCII Code of the action.
    You have to declare a integer in your classDeclaration for recover it in your _ds.


    regards,

    Ryu
Sign In or Register to comment.