Application.DetailStylesToggleItem Method
Project Developer Reference |
Toggles the display of a timescale data field in a usage view.
Syntax
expression.DetailStylesToggleItem(Item)
expression A variable that represents an Application object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
Item | Optional | Long | The timescale data field to show or remove. The default value is pjWork. |
Return Value
Boolean
Remarks
If the active view is the Resource Usage view, can be one of the following PjTimescaledData constants:
pjActualCost | pjCumulativeCost |
pjActualOvertimeWork | pjCumulativeWork |
pjActualWork | pjCV |
pjACWP | pjOverallocation |
pjAllAssignmentRows | pjOvertimeWork |
pjAllResourceRows | pjPeakUnits |
pjBaselineCost | pjPercentAllocation |
pjBaselineWork | pjRegularWork |
pjBaseline1-10Cost | pjRemainingAvailability |
pjBaseline1-10Work | pjSV |
pjBCWP | pjWork |
pjBCWS | pjWorkAvailability |
pjCost |
If the active view is the Task Usage view, can be one of the following PjTimescaledData constants:
pjActualCost | pjCumulativeCost |
pjActualFixedCost | pjCumulativeWork |
pjActualOvertimeWork | pjCV |
pjActualWork | pjCVP |
pjACWP | pjFixedCost |
pjAllAssignmentRows | pjOverallocation |
pjAllTaskRows | pjOvertimeWork |
pjBaselineCost | pjPeakUnits |
pjBaselineWork | pjPercentAllocation |
pjBaseline1-10Cost | pjPctComplete |
pjBaseline1-10Work | pjRegularWork |
pjBCWP | pjSPIT |
pjBCWS | pjSV |
pjCost | pjSVP |
pjCPI | pjWork |
pjCumPctComplete |
See Also