Cancel Button on the StandardDialog Page

rinagreenrinagreen Member Posts: 17
edited 2017-09-15 in NAV Tips & Tricks
Hi everyone!
I faced with a problem: when I press a Cancel button on the StandardDialog Page I cannot understand what exactly action occurs.
A breakpoint settled in the OnClose trigger doesn't work in this case as well as in the OnQueryClosePage trigger.
Please, help me to find the trigger for this button.
Thank you in advance!
ays92c6ovnue.png

Comments

  • YuryYury Member Posts: 59
    HI, Rina!
    With what conditions are you starting your page? Ordinary it used like:
    IF PageName.RUNMODAL = Action::OK or Action::LookupOK THEN
    ... write OK action case
    ELSE
    ... write Cancel action case
    Regards,
    Yury
  • rinagreenrinagreen Member Posts: 17
    Hi Yury!
    I have just realized that I evoke my StandardDialog Page from another page, where I can write the condition you mentioned.
    I just wondered if there were any special triggers linked to the Cancel button)
    Thank you very much for answering.
    Have a nice day!
Sign In or Register to comment.