cancelaction_response_to_cancel_request_.htm
Navigation: ABC Library Reference > WindowManager > WindowManager Properties >====== CancelAction (response to cancel request) ====== | |
CancelAction | BYTE |
The CancelAction property indicates the WindowManager action to take when the end user “Cancels” the window with changes pending. Valid actions are:
Cancel:Cancel | immediate abandon (no confirmation) |
Cancel:Save | immediate save (no confirmation) |
Cancel:Save+Cancel:Query | offer to save or abandon |
Cancel:Cancel+Cancel:Query | offer to resume editing or abandon |
Implementation:
The Init method sets the CancelAction property to Cancel:Save + Cancel:Query. The TakeCloseEvent method carries out the action specified by the CancelAction property.
CancelAction EQUATEs are declared in ABWINDOW.INC as follows:
ITEMIZE,PRE(Cancel)
Cancel EQUATE(0)
Save EQUATE(1)
Query EQUATE(2)
END
See Also: Init, TakeCloseEvent, Request, Response
cancelaction_response_to_cancel_request_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1