JVCL Help:TJvTFSched.EnumConflicts@TJvTFAppt

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Enumerates appointment conflicts.


Pascal

 functionEnumConflicts(TimeRange: TJvTFTimeRange): TDynApptArray; dynamic; overload;
functionEnumConflicts(RangeStart: TTime; RangeEnd: TTime): TDynApptArray; dynamic; overload;
functionEnumConflicts(anAppt: TJvTFAppt): TDynApptArray; dynamic; overload;


Parameters

Parameters Description
TimeRange: TJvTFTimeRange The range within which conflicts should be checked.
RangeStart: TTime Start of the range to check.
RangeEnd: TTime End of the range to check.
anAppt: TJvTFAppt The appointment to check conflicts against.


Return Value

A dynamic array of conflicting appointments.


Description

EnumConflicts will return a dynamic array populated with all the TJvTFAppt's that conflict with the time range given or the appointment given. It is not advised to retain the array for use at a later time due to the fact that the caching system may destroy one or more of the appt objects contained in the result (thus leaving one or more dangling pointers).
These methods only check for conflicts in the schedule from which they are invoked.


About

Notes

These methods are NOT available in the Delphi 3 version of JTF.


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page