TdxGanttControlTask.PercentComplete Property
Specifies the task progress as a percentage.
Declaration
property PercentComplete: Integer read; write;
Property Value
| Type | Description |
|---|---|
| Integer | The task progress (as a percentage). |
Remarks
Use this property to assign an integer value from 0 to 100 to denote the task’s completion percentage.
Change Task Progress at Runtime
- Drag and Drop
Press and hold down the left mouse button when the mouse pointer hovers over the far edge of a task’s progress bar. A user can move the mouse pointer to the left or right to change the task progress percentage. A user should hold down the left mouse button until the end of the operation.

- Task Information Dialog
Double-click a task to open the dialog and enter an integer in the Percent Complete field.

- Task Sheet Column
- Enter an integer in the % Complete sheet column. Ensure that the column is visible in any of the following ways:
- Enable the “Quick Column Customization” button and click the corresponding check box in the dropdown.
- Right-click the column header panel and click Insert Column to display the drop-down window and select the % Complete column.
- Right-click the column header panel and click More… to open the Choose Details dialog. Check the % Complete check box and click OK to apply changes and display the column.
Note
The control ignores this property value until you specify it.
Default Value
The PercentComplete property’s default value is 0.
See Also