CalendarLayout Method

Changes how task bars are arranged on the Calendar.

Syntax

expression**.CalendarLayout(SortOrder, AutoLayout)**

*expression   *     Optional. An expression that returns an Application object.

SortOrder    Optional Boolean. True if tasks are displayed in the Calendar using the current sort order. False if the sort order changes to display as many tasks as possible. The default value is True.

AutoLayout    Optional Boolean. True if the Calendar view automatically changes to reflect task changes.

Remarks

Using the CalendarLayout method without specifying any arguments displays the Layout dialog box.

Use the Sort method to set the current sort order.

Applies to | Application Object

See Also | CalendarBarStyles Method | CalendarBarStylesEdit Method | CalendarBestFitWeekHeight Method | CalendarDateBoxes Method | CalendarDateShading Method | CalendarDateShadingEdit Method | CalendarTaskList Method | CalendarTimescale Method | CalendarWeekHeadings Method | Layout Method | LayoutNow Method