Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxGanttControlTask.PercentComplete Property

Specifies the task’s progress, as a percentage.

#Declaration

Delphi
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.

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