Skip to content

Allow_Cancel_State - cProcessStatusPanel

Specifies whether the status panel will support a Cancel button

Type: Property
Access: Read/Write
Data Type: Boolean
Parameters: None

Syntax

Property Boolean Allow_Cancel_State
Access Type Syntax
Read Access: Get Allow_Cancel_State to BooleanVariable
Write Access: Set Allow_Cancel_State to BooleanVariable/Value

Description

Allow_Cancel_State specifies whether the status panel will support a Cancel button. When False, the status panel is used only to show progress.

The image below shows where the Cancel button will display in the running status panel.

You can use Check_StatusPanel to detect a cancel event.

Get Check_StatusPanel of ghoStatusPanel to bUserCancel
If (bUserCancel) Begin
    // do clean up events after cancel.
End