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


In This Topic
    ClipboardCutActiveSheet Field
    In This Topic
    Cuts the active sheet to the Clipboard.
    Syntax
    'Declaration
     
    Public Shared ReadOnly ClipboardCutActiveSheet As Object
    'Usage
     
    Dim value As Object
     
    value = SpreadActions.ClipboardCutActiveSheet
    public static readonly object ClipboardCutActiveSheet
    Example
    This example cuts the active sheet.
    FarPoint.Win.Spread.InputMap im;
    im = fpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenFocused);
    im.Put(new FarPoint.Win.Spread.Keystroke(Keys.C, Keys.Control), FarPoint.Win.Spread.SpreadActions.ClipboardCutActiveSheet);
    Dim imcopy As FarPoint.Win.Spread.InputMap
    imcopy = fpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenFocused)
    imcopy.Put(New FarPoint.Win.Spread.Keystroke(Keys.C, Keys.Control), FarPoint.Win.Spread.SpreadActions.ClipboardCutActiveSheet)
    See Also