large text gets truncated using textCtrl.WriteText()

james pruett gpscruise at gmail.com
Tue Mar 4 08:26:27 PST 2008


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)


Any ideas appreciated!
-jim
http://sourceforge.net/projects/singletomulti-c/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200803=
04/bdaf881e/attachment.htm


More information about the wxpython-users mailing list