作成日: 2017/03/24 最終更新日: 2017/03/24
文書種別
使用方法
詳細
テキスト型セル/コンボボックス型セルのCharacterSetプロパティに指定した値よって、アクティブセルの移動時にIMEが動的に変更されます。SPREADコントロールのAutoImeModeプロパティをFalse設定することで、アクティブセル移動時にIMEが変更されません。セルの編集を開始した際にIMEを変更されます。
◎サンプルコード(VB)
◎サンプルコード(C#)
◎サンプルコード(VB)
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
FpSpread1.AutoImeMode = False
' テキスト型セルの設定
Dim tcell As New FarPoint.Win.Spread.CellType.TextCellType()
tcell.CharacterSet = FarPoint.Win.Spread.CellType.CharacterSet.Hiragana
FpSpread1.ActiveSheet.Columns(1).CellType = tcell
End Sub
FpSpread1.AutoImeMode = False
' テキスト型セルの設定
Dim tcell As New FarPoint.Win.Spread.CellType.TextCellType()
tcell.CharacterSet = FarPoint.Win.Spread.CellType.CharacterSet.Hiragana
FpSpread1.ActiveSheet.Columns(1).CellType = tcell
End Sub
◎サンプルコード(C#)
private void Form1_Load(object sender, EventArgs e)
{
fpSpread1.AutoImeMode = false;
// テキスト型セルの設定
FarPoint.Win.Spread.CellType.TextCellType tcell = new FarPoint.Win.Spread.CellType.TextCellType();
tcell.CharacterSet = FarPoint.Win.Spread.CellType.CharacterSet.Hiragana;
fpSpread1.ActiveSheet.Columns[1].CellType = tcell;
}
{
fpSpread1.AutoImeMode = false;
// テキスト型セルの設定
FarPoint.Win.Spread.CellType.TextCellType tcell = new FarPoint.Win.Spread.CellType.TextCellType();
tcell.CharacterSet = FarPoint.Win.Spread.CellType.CharacterSet.Hiragana;
fpSpread1.ActiveSheet.Columns[1].CellType = tcell;
}
旧文書番号
40169