preloader-matrix

Alfasith

Form close method sequence in Dynamic AX

Hi,

Before closing the form i.e at the time of closing 

Close – Calls when we click esc / close.
CloseOK – Calls when we click Commandbutton::Ok
CloseCancel – Calls when we click Commandbutton::Cancel
CloseSelect – close the lookup form, and set return value
CloseSelectRecord – close the lookup form, and set return record

After closing the form following action methods calls,

Closed – calls once form closed
ClosedOK – The form was closed by the user clicking ‘OK’
ClosedCancel – The form was closed by the user clicking ‘Cancel’

canClose() is called before any of the close methods get called.
note: this canClose() will be called twice

Regards,

Leave a Reply

Your email address will not be published.