Purpose: Set the grid line for an individual task.
|
Argument |
Type |
Required |
Purpose |
|
1 |
Integer |
Yes |
Task Number |
|
2 |
Integer |
Yes |
0,1,2 (0=left, 1=schedule, 2=right) |
|
3 |
Integer |
Yes |
Color. (See color numbering) A value of -1 will reset the value to the default. |
|
4 |
Integer |
Yes |
GridType. 0=solid line, 1=dotted line, 2=dashed line, 3=thick line A value of -1 will reset the value to the default. |
|
Example: Sets the left columns of a task line (task 1) to solid red, the middle to dotted black and the right columns to thick black With objMilestones .SetTaskLineGrid 1,0,RGB(255,0,0),0 'task 1, left side, Red, Solid .SetTaskLineGrid 1,1,RGB(0,0,0),1 'task 1, schedule area, Black, dashed .SetTaskLineGrid 1,2,RGB(0,0,0),3 'task 1, right side, Black, Thick Line End With
Use either this method or SetTaskLineShade (not both).
|
Related Topics
To effectively program with this interface, it's important to learn all about Milestones Professional. Learn about Milestones.
Milestones Professional 2025 Automation Methods and Properties. © Copyright 2000-2025, KIDASA Software, Inc. All rights reserved.