Fired when the user cancels creation of a new appointment.

Parameters

ParameterDescription
EntityIDID of the entity where the new appointment was started

Remarks

The CancelNewApptDrag event fires when the user cancels a new appointment. The user can cause this event to fire by pressing the ESC key during a drag-created appointment. This event is useful for cleaning up any locks you may have set when the drag-create-appointment operation was initiated. This event will never fire if a user creates a new appointment by double-clicking, as doing so always fires BeforeNewAppt and AfterNewAppt back-to-back with interruption.

Example

Transfer Param1 to EntityID 

// Let the application know that the entity is no longer locked 
Call UnlockEntity(EntityID)

See Also

BeforeNewApptDragBeforeNewApptDropAfterNewApptDrop

  • No labels