Spread Windows Forms 7.0 Product Documentation
ShowTouchKeyboard Method
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class : ShowTouchKeyboard Method


Glossary Item Box

Displays the touch keyboard.

Syntax

Visual Basic (Declaration) 
Public Sub ShowTouchKeyboard() 
Visual Basic (Usage)Copy Code
Dim instance As FpSpread
 
instance.ShowTouchKeyboard()
C# 
public void ShowTouchKeyboard()

Example

This example uses the ShowTouchKeyboard method.
C#Copy Code
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();
 }
VB.NETCopy Code
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

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

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