TdxGanttControlTaskBaselines.Find(Integer) Method
In This Article
#Declaration
Delphi
function Find(const ANumber: Integer): TdxGanttControlTaskBaseline; reintroduce;
#Parameters
Name | Type | Description |
---|---|---|
ANumber | Integer | The baseline’s number. The Find function returns nil (in Delphi) or nullptr (in C++Builder) if the task baseline collection has no baselines with the specified number. |
#Returns
Type | Description |
---|---|
Tdx |
A task’s baseline. |
#Remarks
Call this function to find the baseline whose number is passed as the ANumber parameter. To access a baseline by its index, use the Items property.
#Manage Baselines
You can call the following methods to add or delete a baseline:
- Add
- Creates a baseline with the specified number for a task.
- TdxGanttControlCustomBaselines.Delete
- Deletes the baseline with the specified number.
- TdxGanttControlCustomBaselines.Remove
- Deletes the specified baseline.
See Also