wxTextCtrl in EVT_TEXT_ENTER

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
YuMERA
Earned a small fee
Earned a small fee
Posts: 13
Joined: Fri Jul 05, 2019 8:47 pm

wxTextCtrl in EVT_TEXT_ENTER

Post by YuMERA » Mon Jul 29, 2019 7:25 pm

EVT_TEXT_ENTER on wxDialog not work or????
I try but it doesn't work.

ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 3366
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: wxTextCtrl in EVT_TEXT_ENTER

Post by ONEEYEMAN » Mon Jul 29, 2019 8:27 pm

Hi,
Do you have a reproducible code?

Thank you.

YuMERA
Earned a small fee
Earned a small fee
Posts: 13
Joined: Fri Jul 05, 2019 8:47 pm

Re: wxTextCtrl in EVT_TEXT_ENTER

Post by YuMERA » Mon Jul 29, 2019 8:45 pm

Sorry, my mistake I missed in the documentation. I forgot to put the necessary styling wxT_PROCESS_ENTER style
EVT_TEXT_ENTER(id, func):
Respond to a wxEVT_TEXT_ENTER event, generated when enter is pressed in a text control which must have wxTE_PROCESS_ENTER style for this event to be generated.
Thank you.

Post Reply