SetDateHeading

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:

"Yearly"

"Quarterly"

"Monthly"

"Weekly"

"Daily"

"Hourly"

"Minute"

"Custom"

"None"

3

     

 

Notes:

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

Related Topics

  1. SetDateHeadingProperty
  2. SetEndDate
  3. SetDisplayedStartEndTimes
  4. SetStartDate

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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.