Cancels events.

 

Usage

Set_Property(OLECtrlEntID, "OLE.Cancel", Boolean)

Values

[True | False]

Default: False

Remarks

The Cancel property is used during PRE events to cancel certain operations. PRE events are events that begin with the word "Before" and usually have and equivalent "After" event as well. Before the events are fired, the control resets this property to 0. To cancel the operation for which the event was fired, set this property to 1.

This property only works as long as events are qualified in OpenInsight to process synchronously.

Example

// Cancel the event 
Set_Property(@Window:".OLE_SCHEDULE", "OLE.Cancel", 1)
  • No labels