SetTaskProgress method: Gantt class
Syntax
SetTaskProgress(RecordName.FieldName)
Description
Use the SetTaskProgress method to specify the field in the record that defines the length of the progress bar for this task as shown in the chart area of the Gantt chart.
The value in the field must be between 0 and 100, inclusive. Zero indicates no progress bar is shown, 100 indicates that the progress bar should cover the entire length of the task bar. Values greater than 100 are automatically converted to 100.
Parameters
| Parameter | Description |
|---|---|
|
RecordName.FieldName |
Specify the field, and its associated record, that defines the length of the progress bar for this task. This field must be of type number. The value in the field must be between 0 and 100, inclusive. You must not specify a value greater than 100. |
Returns
None.
Related Topics