我禁用tabcontrol控件的keydown事件中的键盘左右键选择选项卡功能,里面的文本按左右键也失效了,怎么办?
'禁用tabcontrol的键盘切换选项卡事件
Private Sub TabControl1_KeyDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TabControl1.KeyDown
If e.KeyCode = Keys.Right Or e.KeyCode = Keys.Left Or e.KeyCode = Keys.Home Or e.KeyCode = Keys.End Then e.Handled = True
End Sub