Application.SetSidepaneStateButton method (Project)
Sets the state of the Toggle button in the Project Guide. Deprecated in Project.
expression. SetSidepaneStateButton
( _DisplayState_
)
expression A variable that represents an Application object.
Name | Required/Optional | Data type | Description |
---|---|---|---|
DisplayState | Required | Boolean | False if the button should be in normal state, indicating the side pane is hidden. True if the button should be in depressed state, indicating the side pane is showing. |
The Project Guide is disabled by default in Project. Although you can create and display custom Project Guide pages, we recommend that you create task pane apps for new development.
The state of the button should be depressed when the side pane is showing, normal when the side pane is hidden.
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.