Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

Values

[True | False]0, 1, or 2

Default: False0

Remarks

The Cancel property is automatically set to 0 before the OnDragStart or BeforeUpdate events are fired. These events fire when a user starts and operation but before the operation is truly applied. If the operation is not desired, then setting this property to 1 during the event will abort the operation. Note that this only works if you qualify the aforementioned events synchronously.

...