The TssResourceAllocationChart uses four classes to represent various components:

TssResourceAllocation

TssResourceAllocation represents a single allocation (or "slot") for a resource. Each resource can be allocated many times, but each allocation must be for a unique time period.
AnyObject PropertyPublic TObject
A reference to any TObject that you like.  The AnyObject property is provided for the convenience of storing additional information for special needs in an application. If the OwnsAnyObject property is true, the object will be freed when the allocation is destroyed.
Color PropertyPublic TColor
The colour of this allocation.
DisplayRect PropertyPublicRead Only TRect
The bounding rectangle for this allocation when displayed on the chart.
EndAt PropertyPublic TDateTime
The end date/time for the allocation.
OwnsAnyObject PropertyPublic boolean
Whether the object referenced by the AnyObject property is owned by this allocation. If the object is owned, it is freed when the allocation is destroyed.
Resource PropertyPublicRead Only TssResource
The resource this allocation belongs to.
Selected PropertyPublic TssResource
The resource this allocation belongs to.
StartAt PropertyPublic TDateTime
The start date/time for the allocation.
Style PropertyPublic TssResourceDisplayStyle
The display style of this allocation.
Tag PropertyPublic longint
Tag has no predefined meaning. The Tag property is provided for the convenience of storing additional integer value or pointer information for special needs in an application.
BeginUpdate ProcedurePublic ()
Starts buffering updates. One call to EndUpdate should be called for each call to BeginUpdate.
EndUpdate ProcedurePublic ()
Stops buffering updates. One call to EndUpdate should be called for each call to BeginUpdate.
SetDateTime ProcedurePublic (StartAt, EndAt: TDateTime)
Sets the StartAt and EndAt properties in a single operation.

To delete a TssResourceAllocation, simply call its Free method. This will automatically delete it from the TssResource.

What People Say

... The conclusion cannot be an other one than to state that if you are looking for a planning component you have to get the RAC. For your future planning business it is simply a must.
H. de Boer, Staaf Automatisering (see the full case study)
More …

No malware No spam
McAfee Site Report
Web of Trust