Skip to content

Cancel - cUIObject

Used to terminate the current level of a start_ui or ui_accept

Type: Procedure

Syntax

Procedure Cancel

Call Example

Send Cancel

Description

This message is used to terminate the current level of a start_ui or ui_accept with a return value of msg_cancel. An application may use the return value from a ui_accept to inquire as to the reason for termination.

integer iRetVal
ui_accept object to iRetVal
if (iRetVal = msg_Cancel) send operation_aborted