Another event issue

15 views
Skip to first unread message

Werner

unread,
Nov 9, 2012, 4:38:06 AM11/9/12
to wxpytho...@googlegroups.com
Hi,

On my dialog if I press "enter/return" in some of the controls I see the
following events:

EVT_CHAR_HOOK
EVT_ACTIVATE
EVT_CHILD_FOCUS - always goes to "search" button

and the "search" button handler is called.

I understand the EVT_CHAR_HOOK but why do I get EVT_ACTIVATE and
EVT_CHILD_FOCUS, o.k. the last one I can also understand if I press
enter in the last control (which goes then to the first control which is
the search button) but it also happens when I am in other controls where
enter should really just do a tab - no?

Werner


Reply all
Reply to author
Forward
0 new messages