Skip to main content

TdxGanttControlChartView.ClearBaselines(Integer,Boolean) Method

Deletes a specific baseline.

Declaration

procedure ClearBaselines(ANumber: Integer; ASelected: Boolean);

Parameters

Name Type
ANumber Integer
ASelected Boolean

Remarks

Call this procedure and pass a baseline number as the ANumber parameter to delete all baselines with this number. To clear the selected task’s baseline, pass True as the ASelected parameter.

Note

The ClearBaselines procedure records an action in the control‘s history, so a user can undo and redo the corresponding change.

Create Baselines

You can call the SetBaselines procedure to do the following:

  • Create baselines with the specified number for all tasks in the Chart View.

  • Update existing baselines that have this number.

See Also