You need to use the dlgevent command to look for events matching the dialog ID of the Cancel button. If you look at the discussion of the dlgevent command in the ASPECT help file, there is an example script that should get you started.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.