MESCIUS SPREAD for Windows Forms 17.0J
ShortcutKeys プロパティ (InputManCellTypeBase)

InputMan EditingControl のショートカットを取得します。
構文
'Declaration
 
Public Property ShortcutKeys As ShortcutDictionary
public ShortcutDictionary ShortcutKeys {get; set;}

プロパティ値

編集コントロールのすべてのショートカットを表す ShortcutDictionary 値。
GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType inputcell = new GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType();            
inputcell.ShortcutKeys.Add(System.Windows.Forms.Keys.Tab, "SetNow");            
fpSpread1.Sheets[0].Cells[0, 0].CellType = inputcell;
//GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType gcText = new GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType();
//gcText.Multiline = true;
//gcText.ShortcutKeys.Add(Keys.Enter | Keys.Alt, "InputNewLine");
//fpSpread1.Sheets[0].Cells[0, 0].CellType = gcText;
Dim inputcell As New GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType()
inputcell.ShortcutKeys.Add(System.Windows.Forms.Keys.Tab, "SetNow")
fpSpread1.Sheets(0).Cells(0, 0).CellType = inputcell
'Dim gcText As New GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType()
'gcText.Multiline = True
'gcText.ShortcutKeys.Add(Keys.Enter Or Keys.Alt, "InputNewLine")
'fpSpread1.Sheets(0).Cells(0, 0).CellType = gcText
参照

InputManCellTypeBase クラス
InputManCellTypeBase メンバ

 

 


© MESCIUS inc. All rights reserved.