This document is archived and information here might be outdated.  Recommended version.


IPageLayout.FocusNextMapFrame Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IP > IPageLayout Interface > IPageLayout.FocusNextMapFrame Method
ArcGIS Developer Help

IPageLayout.FocusNextMapFrame Method

Focus the next map.

[Visual Basic .NET]
Public Sub FocusNextMapFrame ( _
)
[C#]
public void FocusNextMapFrame (
);
[C++]
HRESULT FocusNextMapFrame(
void
);

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

Changes the focus map to the next MapFrame in the collection.  This method fires the IActiveViewEvents::FocusMapChanged event.

In ArcMap's layout view, the tab key switches the focus map to the next map.  Shift-tab changes the focus map to the previous map.

See Also

IPageLayout Interface