Creates, selects, or moves a task box in the Network Diagram.
Syntaxexpression.BoxSet(Action, TaskID, XPosition, YPosition, ProjectName)
Expression |
Optional. An expression that returns an Application object. |
|||
Action |
Optional Long. The operation to perform on the specified task(s). The default value is pjBoxSelect. Can be one of the following PjBoxSet constants: |
|||
PjBoxAddToSelection PjBoxCreate PjBoxMoveAbsolute PjBoxMoveRelative PjBoxSelect pjBoxUnselect |
||||
TaskID |
Optional Long. The identification number of the task. Required if Action is pjBoxCreate, TaskID is ignored. |
|||
Xposition |
Optional Long. The horizontal position of the task, in pixels. Required if Action is pjBoxMoveAbsolute or pjBoxMoveRelative. If Action is pjBoxCreate or pjBoxMoveAbsolute, XPosition is the absolute horizontal position of the upper left corner of the task. If Action is pjBoxMoveRelative, XPosition is the amount to move the task horizontally relative to the current position. If Action is pjBoxAddToSelection, pjBoxSelect, or pjBoxUnselect, XPosition is ignored. |
|||
Yposition |
Optional Long. The vertical position of the task, in pixels. Required if Action is pjBoxMoveAbsolute or pjBoxMoveRelative. If Action is pjBoxCreate or pjBoxMoveAbsolute, YPosition is the absolute vertical position of the upper left corner of the task. If Action is pjBoxMoveRelative, YPosition is the amount to move the task vertically relative to the current position. If Action is pjBoxAddToSelection, pjBoxSelect, or pjBoxUnselect, YPosition is ignored. |
|||
RelativeMove |
Optional Boolean. True if XPosition and YPosition are relative to the current position. False if XPosition and YPosition are absolute coordinates. If Create is True, RelativeMove is ignored. The default value is False. |
|||
ProjectName |
Optional String. If the active project is a consolidated project, specifies the name of the project for the identification number specified by TaskID. If TaskID is not specified, ProjectName is ignored. The default value is the name of the active project. |
|||
Remarks
All coordinates and move amounts are measured in pixels.
Although the following arguments are not changing, the following methods will need to be updated to work with the new Network Diagram view and some descriptions in Help will need to be rewritten in cases where they concern the PERT:
Microsoft Project 98 Method |
Microsoft Project 2000 Changes |
DefaultView |
Now accepts and returns the strings "Network Diagram" and "Relationship Diagram." No longer accepts or returns the strings "PERT Chart" or "Task PERT." |
Filters |
Now enabled in Network Diagram views. |
FilterApply |
Now enabled in Network Diagram views. |
OutlineHideSubtasks |
Now enabled in Network Diagram views. |
OutlineShowAllTasks |
Now enabled in Network Diagram views. |
OutlineShowSubtasks |
Now enabled in Network Diagram views. |
OutlineShowTasks |
New Microsoft Project 2000 method that also applies to Network Diagram views. |
OutlineSymbolsToggle |
Now enabled in Network Diagram views. |
TextStyles |
No longer supported in Network Diagram views. PERT-related PjTextItem constants removed (that is, pjPERTCritical, pjPERTNoncritical, pjPERTExternalTask, pjPERTNoncriticalExternalTask, etc.). |
ViewEditSingle |
pjPERT and pjTaskPERT removed from the PjViewScreen constants. pjNetworkDiagram and pjRelationshipDiagram added. |
Уважаемый посетитель!
Чтобы распечатать файл, скачайте его (в формате Word).
Ссылка на скачивание - внизу страницы.