Share via


OptionsView Method

Sets view options.

Syntax

expression**.OptionsView(DefaultView, DateFormat, ProjectSummary, DisplayStatusBar, DisplayEntryBar, DisplayScrollBars, CurrencySymbol, SymbolPlacement, CurrencyDigits, DisplayOutlineNumber, DisplayOutlineSymbols, DisplayNameIndent, DisplaySummaryTasks, DisplayOLEIndicator, DisplayExternalSuccessors, DisplayExternalPredecessors, CrossProjectLinksInfo, AcceptNewExternalData, DisplayWindowsInTaskBar, DisplayScreentips)**

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

DefaultView    Optional String. The name of the default view.

PjDateFormat


Constant
Date format applied to 9/30/02 (12:33 PM)
pjDateDefault The default format, as specified on the View tab of the Options dialog box.
pjDate_mm_dd_yy_hh_mmAM 9/30/02 12:33 PM
pjDate_mm_dd_yy 9/30/02
pjDate_mm_dd_yyyy 9/30/2002
pjDate_mmmm_dd_yyyy_hh_mmAM September 30, 2002 12:33 PM
pjDate_mmmm_dd_yyyy September 30, 2002
pjDate_mmm_dd_hh_mmAM Sep 30 12:33 PM
pjDate_mmm_dd_yyy Sep 30, '02
pjDate_mmmm_dd September 30
pjDate_mmm_dd Sep 30
pjDate_ddd_mm_dd_yy_hh_mmAM Mon 9/30/02 12:33 PM
pjDate_ddd_mm_dd_yy Mon 9/30/02
pjDate_ddd_mmm_dd_yyy Mon Sep 30, '02
pjDate_ddd_hh_mmAM Mon 12:33 PM
pjDate_mm_dd 9/30
pjDate_dd 30
pjDate_hh_mmAM 12:33 PM
pjDate_ddd_mmm_dd Mon Sep 30
pjDate_ddd_mm_dd Mon 9/30
pjDate_ddd_dd Mon 30
pjDate_Www_dd W40/1
pjDate_Www_dd_yy_hh_mmAM W40/1/02 12:33 PM

ProjectSummary    Optional Boolean. True if the project summary task is visible.

DisplayStatusBar    Optional Boolean. True if the status bar appears.

DisplayEntryBar    Optional Boolean. True if the entry bar appears.

DisplayScrollBars    Optional Boolean. True if scroll bars appear.

CurrencySymbol    Optional String. The symbol to use for currency values.

SymbolPlacement    Optional Long. The position to display the currency symbol in currency values. Can be one of the following PjSymbolPlacement constants: pjBefore, pjAfter, pjBeforeWithSpace, or pjAfterWithSpace.

CurrencyDigits    Optional Integer. The number of digits following the decimal point in currency values.

DisplayOutlineNumber    Optional Boolean. True if the outline numbers for tasks appear.

DisplayOutlineSymbols    Optional Boolean. True if the outline symbols for tasks appear.

DisplayNameIndent    Optional Boolean. True if the names of tasks are indented.

DisplaySummaryTasks    Optional Boolean. True if summary tasks appear.

DisplayOLEIndicator    Optional Boolean. True if the OLE indicator appears.

DisplayExternalSuccessors    Optional Boolean. True if successors in an external project should be displayed.

DisplayExternalPredecessors    Optional Boolean. True if predecessors in an external project should be displayed.

CrossProjectLinksInfo    Optional Boolean. True if the Links Between Projects dialog box appears when a project containing cross project links is opened.

AcceptNewExternalData    Optional Boolean. True if new or changed data from an external project is automatically accepted when a project is opened. If CrossProjectLinksInfo is True, AcceptNewExternalData is ignored.

DisplayWindowsInTaskBar    Optional Boolean. True if project windows show up on the task bar and in the task list.

DisplayScreentips    Optional Boolean. True if Project displays ScreenTips for items such as link lines or column headers.

Remarks

If an argument is omitted, its default value is specified by the current setting on the View tab of the Options dialog box.

Using the OptionsView method without specifying any arguments displays the Options dialog box with the View tab selected.

Applies to | Application Object

See Also | ExternalTask Property | LinksBetweenProjects Method | OptionsCalendar Method | OptionsEdit Method | OptionsGeneral Method | OptionsSave Method | OptionsSchedule Method | OptionsSpelling Method | OptionsWorkgroup Method | ToggleAssignments Method