Returns the collection of open WebWindows objects in the specified object.
expression.WebWindows
expression Required. An expression that returns one of the objects in the Applies To list.
Example
The following example checks if any of the Web windows are set to Page view, and changes those that are in Page view to Folders view.
Private Sub GetViewModes()
Dim myWebWindows As WebWindows
Dim myWebWindow As WebWindowEx
Dim myView As FpWebViewMode
Set myWebs = Webs
Set myWebWindows = myWebs.WebWindows
For Each myWebWindow In myWebWindows
myView = myWebWindow.ViewMode
If myView = fpWebViewPage Then
myWebWindow.ViewMode = fpWebViewFolders
End If
Next
End Sub