回复 3楼neu_soucese的帖子
neu_soucese 你好,
你可以通过 PreviewKeyDown 事件来截获 Tab 键盘事件:
- public Form1()
- {
- InitializeComponent();
- this.fpSpread1.KeyDown += new KeyEventHandler(fpSpread1_KeyDown);
- this.fpSpread1.PreviewKeyDown += new PreviewKeyDownEventHandler(fpSpread1_PreviewKeyDown);
- }
- void fpSpread1_PreviewKeyDown(object sender, PreviewKeyDownEventArgs e)
- {
- }
- void fpSpread1_KeyDown(object sender, KeyEventArgs e)
- {
- }
复制代码 |