TdxGanttControlTask.PercentComplete Property
Specifies the task’s progress, as a percentage.
Declaration
property PercentComplete: Integer read; write;
Property Value
Type |
---|
Integer |
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 checkbox in the dropdown.
- Right-click the column header panel and click
Insert Column
to invoke the dropdown and select the% Complete
column. - Right-click the column header panel and click
More...
to invoke the Choose Details dialog. Check the% Complete
checkbox and click OK to apply changes and display the column.
Note
The control ignores this property value until you specify it.
The PercentComplete
property’s default value is 0
.
See Also