Ctrl-Enter as a navigation key on wxMSW
Robin Dunn
robin at alldunn.com
Fri Mar 2 12:52:50 PST 2007
I've noticed that if a multi-line text ctrl is in a window hierarchy
without any wxTAB_TRAVERSAL styled parents then Ctrl-Enter will insert
newlines, but if a parent has wxTAB_TRAVERSAL then Ctrl-Enter is used as
a navigation key and acts basically like Tab. This becomes a problem in
situations like wxGrid where the Enter key is used for other things, as
then there is no way to insert a newline in the textctrl. Is there a
way, or does it make sense to add one, to prevent Ctrl-Enter from being
used for navigation? (Besides not using wxTAB_TRAVERSAL)
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wx-dev
mailing list