[Bug]: KryptonComboBox steals the focus using keydown event to jump between controls with enter key in a form #1400
Labels
answered
This question has been adequately answered.
awaiting feedback
A fix for this issue has been implemented, waiting for feedback on the fix.
bug
Something isn't working
Describe the bug
KryptonComboBox stoles the focus using keydown event to jumb between controls with enter key in a frm
To Reproduce
Steps to reproduce the behavior:
Create at least 5 kryptontextbox controls, include a kryptoncombobox, a kryptoncheckbox and paste this code in each control keydown event:
If e.KeyCode = Keys.Enter Then
e.SuppressKeyPress = True ' Evita el sonido de "ding" cuando se presiona Enter
Me.SelectNextControl(Me.ActiveControl, True, True, True, True)
End If
If you try and press enter key, focus finish always in kryptoncombobox.
Expected behavior
Not sure if there is any way to configure this control to avoid this behaviour, so pressing enter key focus jumps between controls based in tabindex property.
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: