Back to Devexpress

TdxGanttControlChartView.ClearBaselines(Integer,Boolean) Method

vcl-dxganttcontrolviewchart-dot-tdxganttcontrolchartview-dot-clearbaselines-x28-system-dot-integer-system-dot-boolean-x29.md

latest1.6 KB
Original Source

TdxGanttControlChartView.ClearBaselines(Integer,Boolean) Method

Deletes a specific baseline.

Declaration

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

Parameters

NameType
ANumberInteger
ASelectedBoolean

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

BaselineNumber

TdxGanttControlChartView Class

TdxGanttControlChartView Members

dxGanttControlViewChart Unit