v5.0
Sets the focused view pane ("A", "B", "C" or "D") in the view manager (the view with focus indicated by a light gray border).
SetFocusedViewport( Viewport ); |
Parameter | Type | Description |
---|---|---|
Viewport | String | The viewport in the view manager which you want to have the focus |
' Get the current viewport which has the focus set oVM = Application.Desktop.ActiveLayout.Views.Find("View Manager") set oView = oVM.Views(GetFocusedViewport) LogMessage oView.FullName & ", " & oView.Type ' Then set the focus to viewport "A" SetFocusedViewport "A" ' Get the focused viewport again set oView = oVM.Views(GetFocusedViewport) LogMessage oView.FullName & ", " & oView.Type |