Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SpreadActions Class / MoveToPreviousCellThenControl Field
Example


In This Topic
    MoveToPreviousCellThenControl Field
    In This Topic
    Moves the active cell to previous cell then the previous control.
    Syntax
    'Declaration
     
    Public Shared ReadOnly MoveToPreviousCellThenControl As Object
    'Usage
     
    Dim value As Object
     
    value = SpreadActions.MoveToPreviousCellThenControl
    public static readonly object MoveToPreviousCellThenControl
    Example
    This example uses the MoveToPreviousCellThenControl action.
    FarPoint.Win.Spread.InputMap im;
    im = fpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused);
    im.Put(new FarPoint.Win.Spread.Keystroke(Keys.M, Keys.None), FarPoint.Win.Spread.SpreadActions.MoveToPreviousCellThenControl);
    Dim im As FarPoint.Win.Spread.InputMap
    im = FpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused)
    im.Put(New FarPoint.Win.Spread.Keystroke(Keys.M, Keys.None), FarPoint.Win.Spread.SpreadActions.MoveToPreviousCellThenControl)
    See Also