Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxSchedulerEvent.GetTaskLinkOwnerRelation(TcxSchedulerEvent,TcxSchedulerEventRelation) Method

Checks whether the current task (the successor) and a specified task (the predecessor) are linked, and obtains the link type.

#Declaration

Delphi
function GetTaskLinkOwnerRelation(ATaskLinkOwner: TcxSchedulerEvent; var ARelation: TcxSchedulerEventRelation): Boolean; virtual;

#Parameters

Name Type
ATaskLinkOwner TcxSchedulerEvent
ARelation TcxSchedulerEventRelation

#Returns

Type
Boolean

#Remarks

The GetTaskLinkOwnerRelation method returns True, if two tasks are linked.

ATaskLinkOwner references the predecessor task (which owns the link).

The method writes the resulting task link type to ARelation.

See Also