wxStyledTextCtrl problem ?
Josiah Carlson
jcarlson at uci.edu
Mon Nov 29 02:43:32 EST 2004
More information about the Python-list mailing list
Mon Nov 29 02:43:32 EST 2004
- Previous message (by thread): wxStyledTextCtrl problem ?
- Next message (by thread): wxStyledTextCtrl problem ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Paul Robson <autismuk at autismuk.muralichucks.freeserve.co.uk> wrote: > > I have a wierd thing with a little editor app I'm writing. > > I'm using wxStyledTextCtrl ; the wrapper for Scintilla. When I create the > frame in wxPython, I use self.Editor.SetFocus() to put the focus initially > on the editor. > > This works fine. > > Odd thing is though, switching back and forwards between applications > alternately hides and reappears the caret. > > Hit Alt-Tab twice and it disappears > Hit Alt-Tab twice and it comes back. > > It still works fine - there's just no caret. I've tried various things in > EVT_ACTIVATE including Moving the Caret on screen, and forcing it to be > visible - they are being called but it makes no difference. > > Any ideas ? I don't know why the problem you are having happens, but I would just make a call to self.Editor.SetFocus() on an EVT_ACTIVATE event. - Josiah
- Previous message (by thread): wxStyledTextCtrl problem ?
- Next message (by thread): wxStyledTextCtrl problem ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list