[wxPython-users] large text gets truncated using
textCtrl.WriteText()
Robin Dunn
robin at alldunn.com
Tue Mar 4 12:52:38 PST 2008
james pruett wrote:
> Hi, I have a truncation problem using textCtrl()
>
> #this truncates
> converter.dobothNow()
> print globals.cashback #this is not truncated
> self.textCtrl2.WriteText(globals.cashback) #this is truncated in text
> window
>
> #However. if I redo it three times, it is not truncated
> converter.dobothNow()
> print globals.cashback #this is not truncated
> self.textCtrl2.Clear()
> time.sleep(1)
> self.textCtrl2.WriteText(globals.cashback)
> time.sleep(10)
> self.textCtrl2.Clear()
> time.sleep(1)
> self.textCtrl2.WriteText(globals.cashback)
> time.sleep(10)
> self.textCtrl2.Clear()
> timesleep(1)
> self.textCtrl2.WriteText(globals.cashback) #this is not truncated
> time.sleep(10)
>
Which platform is this? Do you have a small sample app that can show
this problem?
This does sound familiar, so I think it has been reported before, but I
don't remember details.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list