Spread Windows Forms 6.0 Product Documentation
SetActiveViewport Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SpreadView Class : SetActiveViewport Method


Glossary Item Box

Sets the active viewport.

Sets the active viewport.

Overload List

OverloadDescription
SetActiveViewport(Int32,Int32)Sets the active viewport.  
SetActiveViewport(Int32,Int32,Int32)Sets the active viewport for the specified sheet.  

Remarks

Spread is designed to keep the active viewport in sync with the active cell. If the active cell is in a frozen row or column then the active viewport should be a frozen viewport. If the active cell is in a frozen viewport and you want to set a non-frozen viewport to be active, you can move the active cell to a scrollable row and then set the active viewport to the desired scrollable viewport. Use the SetActiveCell method and then use this SetActiveViewport method.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.