Spread Windows Forms 11.0 Product Documentation
MoveActiveOnFocus Property (SpreadView)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SpreadView Class : MoveActiveOnFocus Property
Gets or sets whether the location of the active cell in the view moves when the user moves the focus to the view using the mouse.
Syntax
'Declaration
 
Public Property MoveActiveOnFocus As Boolean
'Usage
 
Dim instance As SpreadView
Dim value As Boolean
 
instance.MoveActiveOnFocus = value
 
value = instance.MoveActiveOnFocus
public bool MoveActiveOnFocus {get; set;}

Property Value

Boolean: true to move focus; false otherwise
Example
This example sets the MoveActiveOnFocus property.
FarPoint.Win.Spread.SpreadView sv = fpSpread1.GetRootWorkbook();
sv.MoveActiveOnFocus = false;
Dim sv As FarPoint.Win.Spread.SpreadView = FpSpread1.GetRootWorkbook
sv.MoveActiveOnFocus = False
See Also

Reference

SpreadView Class
SpreadView Members

User-Task Documentation

Customizing the Selection