Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxGanttControlTaskBaselines.Add(Integer) Method

Creates a baseline with the specified number for a task.

#Declaration

Delphi
function Add(const ANumber: Integer): TdxGanttControlTaskBaseline; reintroduce;

#Parameters

Name Type Description
ANumber Integer

A baseline’s number. The Add function can return a new baseline with the specified number or an existing baseline if its number matches the ANumber value.

#Returns

Type Description
TdxGanttControlTaskBaseline

A task’s baseline.

#Remarks

Call this function and pass a baseline’s number as the ANumber parameter to create the baseline with this number.

Note

Different tasks can have baselines with the same number. One task cannot have multiple baselines with the same number.

#Delete a Baseline

You can call the following procedures of the collection’s ancestor to delete baselines:

Delete
Deletes the baseline with the specified number.
Remove
Deletes the specified baseline.

Note

The collection sorts baselines by number in ascending order.

See Also