Purpose: Set the text for existing legend entries on a schedule
Returns: none
|
Argument |
Type |
Required |
Purpose |
|
1 |
Integer |
Yes |
Index of legend entry to be set (1-30) |
|
2 |
String |
Yes |
Text for line one of this legend entry |
|
3 |
String |
No |
Text for line two of this legend entry |
Notes:
The legend is stored with the template. The easiest way to set up a legend is using the GUI and then using a template with a program that manipulates the schedule.
Example: Set the second legend entry's text:
With objMilestones
.SetLegendText 2, "text for line 1","text for line 2"
End With
To effectively program with this interface, it's important to learn all about Milestones Professional. Learn about Milestones.
Milestones Professional 2023 Automation Methods and Properties. © Copyright 2000-2023, KIDASA Software, Inc. All rights reserved.