[wxPython] EVT_CHAR Problem

Hello all,

I am having a very strange problem trying to process shit-tab on a wxTextCtrl field.

I use the following:

editbox = wxTextCtrl(self, myID, “Default”,wxPoint(x,y),

              wxSize( size,19), wxTE_PROCESS_ENTER|wxTE_PROCESS_TAB)

EVT_CHAR(editbox, self.EvtChar)
EVT_TEXT_ENTER(editbox, myID, self.EvtEnter)

Pressing TAB will trigger the event however pressing Shift-TAB will not. There is only on wxTextCtrl

item in the frame. After pressing Shift-TAB if I press TAB serveral times the focus comes back to

the single field.

Does anyone know what might cause this?

Thanks,

Michael

    I am having a very strange problem trying to process shit-tab on
a wxTextCtrl field.

    I use the following:

   editbox = wxTextCtrl(self, myID, "Default",wxPoint(x,y),
                  wxSize( size,19), wxTE_PROCESS_ENTER|wxTE_PROCESS_TAB)

   EVT_CHAR(editbox, self.EvtChar)
   EVT_TEXT_ENTER(editbox, myID, self.EvtEnter)

   Pressing TAB will trigger the event however pressing Shift-TAB will
not. There is only on wxTextCtrl

What is self and what is your platform and versions?

···

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!

Running windows 2000, python20, wxPython2.2.

The "self" is a wxPanel.

···

> I am having a very strange problem trying to process shit-tab on
> a wxTextCtrl field.
>
> I use the following:
>
> editbox = wxTextCtrl(self, myID, "Default",wxPoint(x,y),
> wxSize( size,19), wxTE_PROCESS_ENTER|wxTE_PROCESS_TAB)
>
> EVT_CHAR(editbox, self.EvtChar)
> EVT_TEXT_ENTER(editbox, myID, self.EvtEnter)
>
> Pressing TAB will trigger the event however pressing Shift-TAB will
> not. There is only on wxTextCtrl

What is self and what is your platform and versions?

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!

_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwindows.org
http://lists.wxwindows.org/mailman/listinfo/wxpython-users