Menu

How to set focus to wxStyledTextCtrl?

Developers
liyinghui
2004-06-06
2004-06-07
  • liyinghui

    liyinghui - 2004-06-06

    In wxPython 2.4.2.4, I found that I could not set the focus to wxStyledTextCtrl when start up the program. I need click in document window, so that the focus will be set to wxStyledTextCtrl. And when I update wxPython to 2.5.1.5, the thing becomes more bad. The focus will stay in notebook's tag when I click the tab for changing the document. In 2.4.2.4 , it is not the same. I could not find the answer, so I want to ask whether you have met the same problem.

     
    • Daniel Pozmanter

      I have not had this problem at all.
      As of 3.0.0, wxPython 2.5.1.5 is the only version supported by DrPython.

      Are you using DrPython 3.0.0, or DrPython 2.4.6 when you encounter the problem?

      3.0.0 does not work with wxPython 2.4.x, so is it 2.4.6?

      If yes, does 3.0.0 give you the same problem?

      What OS do you encounter the problem on?

      Is there any traceback output?

       
    • liyinghui

      liyinghui - 2004-06-07

      I tested it in windows xp, and I'll test it in windows 2000 to see if it'll be ok.

       
    • liyinghui

      liyinghui - 2004-06-07

      I found it , it's my program's bug. The program is newedit. Thanks.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.