Hello,
I want to make tab navigation also possible with the RETURN key for wxTextCtrl and wxComboBox.
I know that I should use wxTE_PROCESS_ENTER style and call wxWindow::Navigate() function in its wxEVT_COMBOBOX event handler to achieve this, but the problem appears when:
If these is an AutoComplete wxArrayString associated with the control, then tab key navigation will be disabled.
Any suggestions here!
TIA
[wxMSW][3.1.2] How to make tab navigation also possible with the RETURN key?
Re: [wxMSW][3.1.2] How to make tab navigation also possible with the RETURN key?
HI,
What wx version?
What platform?
Thank you.
What wx version?
What platform?
Thank you.
Re: [wxMSW][3.1.2] How to make tab navigation also possible with the RETURN key?
it is already mentioned in the thread title:
wxMSW and v3.1.2
wxMSW and v3.1.2
Re: [wxMSW][3.1.2] How to make tab navigation also possible with the RETURN key?
Hi,
Did you try to catch wxEVT_CHAR_HOOK?
Also - are you using the standard wxWidgets autocompletioon control or you have your own?
Thank you.
Did you try to catch wxEVT_CHAR_HOOK?
Also - are you using the standard wxWidgets autocompletioon control or you have your own?
Thank you.
Re: [wxMSW][3.1.2] How to make tab navigation also possible with the RETURN key?
NO, I did not try to catch wxEVT_CHAR_HOOK.
Yes, I am using the standard wxWidgets auto-completion control?
Also I have noticed that tab navigation is passed to the auto-completion control (meaning it is working for the auto-completion control list).
I think that this is the cause it is not working for the wxTextCtrl and wxComboBox.
I need to disable it from the auto-completion control.
Yes, I am using the standard wxWidgets auto-completion control?
Also I have noticed that tab navigation is passed to the auto-completion control (meaning it is working for the auto-completion control list).
I think that this is the cause it is not working for the wxTextCtrl and wxComboBox.
I need to disable it from the auto-completion control.