Skip to main content

TcxSchedulerEvent.CreateConflictsInfo(Boolean) Method

Instantiates a TcxSchedulerEventConflictsInfo object which contains information on any user events that overlap with the user event.

Declaration

function CreateConflictsInfo(AExceptEventsWithoutResources: Boolean): TcxSchedulerEventConflictsInfo;

Parameters

Name Type
AExceptEventsWithoutResources Boolean

Returns

Type
TcxSchedulerEventConflictsInfo

Remarks

The TcxSchedulerEventConflictsInfo object allows to find out whether there are overlapped user events (see the TcxSchedulerEventConflictsInfo.HasConflicts property) and provides access to the collection which contains all the user events that share the scheduled time with the user event (see the TcxSchedulerEventConflictsInfo.ConflictEvents property).

The time range in which the overlapping user events fall is specified by the start and end times of the user event.

Information on which class is used (TcxSchedulerEventConflictsInfo or its descendant) to instantiate an object is provided by the cxSchedulerEventConflictsInfoClass constant.

The AExceptEventsWithoutResources parameter specifies whether the user events, which are not assigned to any resources, will be treated as overlapped and, as consequence, will be stored in the TcxSchedulerEventConflictsInfo.ConflictEvents collection. Set the AExceptEventsWithoutResources parameter to False to provide information on these user events.

Note

user events, which do not belong to any resources, will be shown in the scheduling area, if the TcxSchedulerOptionsView.ShowEventsWithoutResource property is set to True. Otherwise they will be hidden.

See Also