Share via


Application.BoxShowHideFields Method

Project Developer Reference

Shows or hides the task data fields of the active Network Diagram.

Syntax

expression.BoxShowHideFields(Show)

expression   A variable that represents an Application object.

Parameters

Name Required/Optional Data Type Description
Show Optional Boolean True if the fields of Network Diagram boxes are displayed in the active Network Diagram. False if only task ID numbers are displayed. The default value is True if the active Network Diagram isn't showing fields and False if it is.

Return Value
Boolean

Example

The following example first hides the fields of Network Diagram boxes and then displays them.

Visual Basic for Applications
  Sub BoxShow_HideFields()
Dim Result As Boolean

'Activate the Network Diagram view  
ViewApply Name:="Network Diagram"

Result = <strong class="bterm">BoxShowHideFields</strong>(False)
Result = <strong class="bterm">BoxShowHideFields</strong>(True)

End Sub

See Also