DO12 - CANCEL Button

Using the new Opus 12 Dialog boxes, how can I tell if a user pressed the CANCEL button. I am sure it must be very easy, but it has me beat with my limited knowledge of VB. Help please.

Taken from the release notes of v12beta5.
The return code being zero or not is what you're looking for iirc.

retVal = Dlg.Show DOpus.Output "Return code = " & retVal

As simple as that!

Many thanks tbone