Re: wxPython TextCtrl - weird scrolling behavior

2006-11-01 Thread Peter Decker
On 1 Nov 2006 04:54:32 -0800, abcd <[EMAIL PROTECTED]> wrote: > thanks for the feedback, I am watching the screencasts, which are > helping already. I think I will try out the Dabo GUI tool since it > uses wxPython...and see if I can get the code I need from it. I think you'll be very impressed.

Re: wxPython TextCtrl - weird scrolling behavior

2006-11-01 Thread abcd
thanks for the feedback, I am watching the screencasts, which are helping already. I think I will try out the Dabo GUI tool since it uses wxPython...and see if I can get the code I need from it. thanks -- http://mail.python.org/mailman/listinfo/python-list

Re: wxPython TextCtrl - weird scrolling behavior

2006-10-31 Thread Ed Leafe
On Oct 31, 2006, at 3:22 PM, John Salerno wrote: > After I watched the screencasts for how Dabo uses sizers, I really > understood them a lot better. I've never used Dabo itself for GUI > design, but the screencast, though it shows them in terms of that > program, still gives a great visual presen

Re: wxPython TextCtrl - weird scrolling behavior

2006-10-31 Thread John Salerno
abcd wrote: > On Oct 30, 3:47 pm, John Salerno <[EMAIL PROTECTED]> wrote: >> I noticed that one object you refer to is >> self.textPane, is that supposed to be self.textPanel? > > no, self.textPane is the actual wx.TextCtrl. > > I used a GUI Builder to the layout stuff...perhaps that's my problem

Re: wxPython TextCtrl - weird scrolling behavior

2006-10-30 Thread abcd
On Oct 30, 3:47 pm, John Salerno <[EMAIL PROTECTED]> wrote: >I noticed that one object you refer to is > self.textPane, is that supposed to be self.textPanel? no, self.textPane is the actual wx.TextCtrl. I used a GUI Builder to the layout stuff...perhaps that's my problem :) is there a good site

Re: wxPython TextCtrl - weird scrolling behavior

2006-10-30 Thread John Salerno
abcd wrote: >> But one question that comes to mind is, do you not add sizerTextPanel to >> sizerMainPanel? I think all sub-sizers should be added to the main >> sizer, unless there's some weird reason I don't know of. > > well i set the sizer on the textPanel and then I add the textPanel to > size

Re: wxPython TextCtrl - weird scrolling behavior

2006-10-30 Thread abcd
> But one question that comes to mind is, do you not add sizerTextPanel to > sizerMainPanel? I think all sub-sizers should be added to the main > sizer, unless there's some weird reason I don't know of. well i set the sizer on the textPanel and then I add the textPanel to sizerMainPanel -- http:

Re: wxPython TextCtrl - weird scrolling behavior

2006-10-30 Thread John Salerno
abcd wrote: > sizerMainPanel.Add(self.textPanel, 3, wx.ALL|wx.EXPAND, 0) Your best bet may be to post to [EMAIL PROTECTED] But one question that comes to mind is, do you not add sizerTextPanel to sizerMainPanel? I think all sub-sizers should be added to the main sizer, unless there's s

Re: wxPython TextCtrl - weird scrolling behavior

2006-10-30 Thread abcd
On Oct 30, 2:52 pm, John Salerno <[EMAIL PROTECTED]> wrote: Don't know for sure, but you can try calling the Refresh() method on the > text control and see if that fixes it. Didn't make a difference. Not sure what the problem is, I am wondering if it is a layout issue since that is my weak spot w

Re: wxPython TextCtrl - weird scrolling behavior

2006-10-30 Thread John Salerno
abcd wrote: > I have a TextCtrl which is set to be multi-line. I have a function > say, updateText(msg), which takes some string and appends it to the > text control... > > txtControl.AppendText(msg) > > however, if the text that I am appending would cause the scroll > bars to appear/or scro

wxPython TextCtrl - weird scrolling behavior

2006-10-30 Thread abcd
I have a TextCtrl which is set to be multi-line. I have a function say, updateText(msg), which takes some string and appends it to the text control... txtControl.AppendText(msg) however, if the text that I am appending would cause the scroll bars to appear/or scroll since the text is long th