SetTaskLabel method: Gantt class

Syntax

SetTaskLabel(RecordName.FieldName)

Description

Use the SetTaskLabel method to specify the field in the record that defines the task label. The label is displayed alongside its corresponding task bar in the chart area. If a task label is not provided, the task name is used instead. If a task name is not provided, the task id is used.

Parameters

Parameter Description

RecordName.FieldName

Specify the field, and its associated record, that contains the task label. This field must be of type character.

Returns

None.