Share via


Application.OptionsView Method

Project Developer Reference

Sets view options.

Syntax

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

expression   A variable that represents an Application object.

Parameters

Name Required/Optional Data Type Description
DefaultView Optional String The name of the default view.
DateFormat Optional Long The date format. Can be one of the PjDateFormat constants.
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
CurrencyDigits Optional Integer The number of digits following the decimal point in currency values.
ProjectCurrency Optional Variant
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 appear 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.
CalendarType Optional Variant
Use3DLook Optional Variant

Return Value
Boolean

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.

See Also