PjBoxSet enumeration (Project)
Contains constants that specify the creation, selection, or movement of a task in the Network Diagram view.
Name | Value | Description |
---|---|---|
pjBoxAddToSelection | 0 | Selects the task, retaining any existing selection. |
pjBoxCreate | 1 | Creates a new task, clearing any existing selection. |
pjBoxMoveAbsolute | 2 | Positions the task relative to the upper-left corner of the view. If more than one task is selected and TaskID is not specified, all selected tasks are moved. If TaskID is specified, the selection is cleared and only that task is moved. |
pjBoxMoveRelative | 3 | Positions the task relative to its current position. If more than one task is selected and TaskID is not specified, all selected tasks are moved. If TaskID is specified, the selection is cleared and only that task is moved. |
pjBoxSelect | 4 | Selects the task, clearing any existing selection. |
pjBoxUnselect | 5 | Removes the task from the selection. If more than one task is selected and TaskID is not specified, the box with focus is removed from the selection. If TaskID is specified, only that task is removed from the selection. |
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.