Skip to main content

TcxSchedulerEvent.CanLink(TcxSchedulerEvent) Method

Checks whether an event can be linked to the current task when scheduling in the Gantt View.

Declaration

function CanLink(AEvent: TcxSchedulerEvent): Boolean; virtual;

Parameters

Name Type
AEvent TcxSchedulerEvent

Returns

Type
Boolean

Remarks

This function returns True if AEvent belongs to the same resource as the current task (see the ResourceID property and the ShareWithResource method) and is not currently linked to the task.

See Also