Skip to main content

TcxCustomScheduler.DeleteSelectedEvents(Boolean) Method

Removes selected user events.

Declaration

procedure DeleteSelectedEvents(ACheckReadOnly: Boolean = True);

Parameters

Name Type
ACheckReadOnly Boolean

Remarks

Use the DeleteSelectedEvents method to delete selected events. The ACheckReadOnly parameter specifies whether the user event, assigned to the resource that is marked as read-only (see the TcxSchedulerStorageResourceItem.ReadOnly property), will be deleted. Set the ACheckReadOnly parameter to False to delete the user event that belongs to the resource with the read-only status. This method ignores the TcxSchedulerEventOperations.Deleting property value.

Note

if the selected user event is an occurrence this method only removes this occurrence (an exception of this occurrence is created).

See Also