Controlling fucus of text (text control )and editor(wx.lib.editor)

Hi list

         How to control fucus on text control? Normally, I need fucus on text control(promt for typing and any event) but when I have editor(for text editing), its automatical focus on editor and can not return to text control (crazy,my app has no mouse for clicking for focusing :().

Any idea is very welcomed.
Regard
chatchai

···

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

For automatic setting of focus, use 'obj.SetFocus()'.
For many controls (though perhaps not your editor and text control),
using the 'tab' key works.

You could bind a 'CTRL+TAB' keyboard event to your parent wx.Frame, then
call frame.Navigate() to navagate between your controls.

- Josiah

···

"Chatchai Nanudorn" <elecstud@hotmail.com> wrote:

Hi list

         How to control fucus on text control? Normally, I need fucus on
text control(promt for typing and any event) but when I have editor(for text
editing), its automatical focus on editor and can not return to text control
(crazy,my app has no mouse for clicking for focusing :().

Any idea is very welcomed.
Regard
chatchai

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

Hi Josiah Carlson
         When I switch to page contain text control widget, a focus need to move to text for typing.
After type something, I need key event to return to anothor page of app. I bind key event to text control, what append, text widget don't recieve any character I typed. If I don't bind key event on text control, typing any charactor is work fine.

        Now, I append character every key event occur. What is your idea?

Thank and regard
chatchai

···

_________________________________________________________________
Don�t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/