The TssResourceAllocationChart uses four classes to represent various components:
- TssResourceAllocationChart: represents the whole chart.
- TssResource: represents a single resource that can be allocated.
- TssResourceAllocation: represents a single allocation of a single resource.
- TssResourceAllocationChartAppearance: properties the control the appearance of the chart.
- Various types used by the chart.
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 | ![]() ![]() |
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 | ![]() ![]() |
TColor |
The colour of this allocation. | ||
DisplayRect | ![]() ![]() ![]() |
TRect |
The bounding rectangle for this allocation when displayed on the chart. | ||
EndAt | ![]() ![]() |
TDateTime |
The end date/time for the allocation. | ||
OwnsAnyObject | ![]() ![]() |
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 | ![]() ![]() ![]() |
TssResource |
The resource this allocation belongs to. | ||
Selected | ![]() ![]() |
TssResource |
The resource this allocation belongs to. | ||
StartAt | ![]() ![]() |
TDateTime |
The start date/time for the allocation. | ||
Style | ![]() ![]() |
TssResourceDisplayStyle |
The display style of this allocation. | ||
Tag | ![]() ![]() |
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 | ![]() ![]() |
() |
Starts buffering updates. One call to EndUpdate should be called for each call to BeginUpdate. | ||
EndUpdate | ![]() ![]() |
() |
Stops buffering updates. One call to EndUpdate should be called for each call to BeginUpdate. | ||
SetDateTime | ![]() ![]() |
(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.
- Overview
- Download
- Screen Shots
- Properties
- FAQ & Getting Started
- User Comments
- Support Forum
- Change History
- License
- Buy
What People Say |
---|
![]() I love your component - you've done a very good job! ![]() Marc Hoffmann, EVAS Softwarelösungen OHG |
More … |