Purpose: Set the type of date heading. Even though the date heading types are set in the template file (see the .Template command) this allows the application to set the headings to something different.
Returns: none
|
Argument |
Type |
Required |
Purpose |
|||||||||
|
1 |
Integer |
Yes |
Heading level (1 - 4) |
|||||||||
|
2 |
String |
Yes |
Type of heading from list below:
|
|||||||||
|
3 |
Notes:
Set headings top down. Do not set heading level 4 unless levels 1-3 are already set. Selecting a Custom heading type requires either that the USERDATn.TXT file that defines the custom heading be available or that the Custom heading be of the embedded type.
Example: Set the first heading level to Yearly with a sub-type of 5 to set the yearly type to Fiscal, and to deactivate the second heading level.
With objMilestones
.SetDateHeading 1, "Yearly", 5
.SetDateHeading 2, "None", 1
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.