Trigger executed when closing a page by Esc

poppinspoppins Member Posts: 647
edited 2015-08-23 in NAV Three Tier
Hi everyone,

Which trigger in the page is executed when I close it with Esc or using the title bar?
The page is run modally.

Thanks in advance :mrgreen:

Comments

  • SavatageSavatage Member Posts: 7,142
    Have you played with OnQueryClosePage trigger?

    Executes as a page closes and before the OnClosePage Trigger executes.
    true to close the page; otherwise false. This value is checked after each function call.

    OnClosePage

    Executes as a page closes after the OnQueryCloseForm Trigger trigger is executed.
    This trigger is initiated by a user action, such as when the user clicks the Close button, or by the CurrPage.CLOSE function being called.
    You can write to the database from within this trigger.

    Here's a list of Page and action triggers..
    https://msdn.microsoft.com/en-us/library/ee414200.aspx
Sign In or Register to comment.