作成日: 2024/01/31 最終更新日: 2024/01/31
文書種別
使用方法
詳細
MultiRowでは、既定のショートカットキー設定でEnterキーがセルの編集開始、編集確定に割り当てられています。これをセルの移動に変更するには、次のようにコーディングします。
[Visual Basic]
[C#]
[Visual Basic]
Imports GrapeCity.Win.MultiRow 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);