Enter キーの入力で次のセルに移動する方法
対象製品
MultiRow for Windows Forms 5.0J
詳細
MultiRow for Windows Forms 5.0J では、既定の設定では Enter キーがセルの編集開始、編集確定に割り当てられています。これをセルの移動に変更するには、次のようにコーディングします。
[Visual Basic]
[C#]
[Visual Basic]
Imports GrapeCity.Win.MultiRow
GcMultiRow1.ShortcutKeyManager.Unregister(Keys.Enter)
GcMultiRow1.ShortcutKeyManager.Register(SelectionActions.MoveToNextCell, Keys.Enter)
GcMultiRow1.ShortcutKeyManager.Unregister(Keys.Enter)
GcMultiRow1.ShortcutKeyManager.Register(SelectionActions.MoveToNextCell, Keys.Enter)
[C#]
using GrapeCity.Win.MultiRow;
gcMultiRow1.ShortcutKeyManager.Unregister(Keys.Enter);
gcMultiRow1.ShortcutKeyManager.Register(SelectionActions.MoveToNextCell, Keys.Enter);
gcMultiRow1.ShortcutKeyManager.Unregister(Keys.Enter);
gcMultiRow1.ShortcutKeyManager.Register(SelectionActions.MoveToNextCell, Keys.Enter);
関連情報
この文書は、以前は次のFAQ IDで公開されていました : 11275