Re: Forcing the position of scroll bars on a wxTextCtrl

2005-11-03 Thread Magnus Lycka
Clans Of Intrigue wrote: > Thanks, that did the trick perfectly :) > > also got rid of the self._log member so the class is now just: > > class LogControl: > """ Simple helper to redirect stdout to a panel in the GUI """ > def __init__( self, textCtrl ): > self._ctrl = textCtrl >

Re: Forcing the position of scroll bars on a wxTextCtrl

2005-11-02 Thread Andrea Gavana
Hello Clans, as a first suggestion, it is usually recommended that you post a small *working* sample, in order to help others in understanding the problem and also to give others the possibility to test your code. Noting that I am not able to run your code as it is, I can just speculate one su

Re: Forcing the position of scroll bars on a wxTextCtrl

2005-11-02 Thread Clans Of Intrigue
Thanks, that did the trick perfectly :) also got rid of the self._log member so the class is now just: class LogControl: """ Simple helper to redirect stdout to a panel in the GUI """ def __init__( self, textCtrl ): self._ctrl = textCtrl self.write( "Application Started...

Re: Forcing the position of scroll bars on a wxTextCtrl

2005-11-02 Thread Magnus Lycka
Someone who's probably not really called Clans Of Intrigue wrote: > Hello, this is my first post here so apologies if it's in the wrong > place, inappropriate or embarrassingly stupid - please let me know :) No, that's ok. The wxpython mailing list might give better answers though. > My problem s

Forcing the position of scroll bars on a wxTextCtrl

2005-11-02 Thread Clans Of Intrigue
Hello, this is my first post here so apologies if it's in the wrong place, inappropriate or embarrassingly stupid - please let me know :) My problem seems quite simple - I've redirected stdout to a wxTextCtrl, so that any trace messages appear in a log window at the bottom of my app. The problem