Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / FpSpread Class / HideTouchKeyboard Method
Example


In This Topic
    HideTouchKeyboard Method
    In This Topic
    Hides the touch keyboard.
    Syntax
    'Declaration
     
    Public Sub HideTouchKeyboard() 
    'Usage
     
    Dim instance As FpSpread
     
    instance.HideTouchKeyboard()
    public void HideTouchKeyboard()
    Example
    This example uses the HideTouchKeyboard method.
    private void Form1_Load(object sender, EventArgs e)
     {
       fpSpread1.AutoScrollWhenKeyboardShowing = true;
       fpSpread1.InputScope = FarPoint.Win.InputScopeNameValue.Default;
     }
    
    private void fpSpread1_EditModeOn(object sender, EventArgs e)
     {
       fpSpread1.ShowTouchKeyboard();
     }
    
    private void fpSpread1_EditModeOff(object sender, EventArgs e)
     {
       fpSpread1.HideTouchKeyboard();
     }
    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        FpSpread1.AutoScrollWhenKeyboardShowing = True
        FpSpread1.InputScope = FarPoint.Win.InputScopeNameValue.Default
    End Sub
    
    Private Sub FpSpread1_EditModeOn(sender As Object, e As System.EventArgs) Handles FpSpread1.EditModeOn
         FpSpread1.ShowTouchKeyboard()
    End Sub
    
    Private Sub FpSpread1_EditModeOff(sender As Object, e As System.EventArgs) Handles FpSpread1.EditModeOff
         FpSpread1.HideTouchKeyboard()
    End Sub
    See Also