[wxPython-users] Get only a section of text from a wx.TextCtrl?

Robin Dunn robin at alldunn.com
Thu Nov 1 17:11:29 PDT 2007


Trey K wrote:
> Hey all,
> I need to store the value of text from a position in a wx.TextCtrl to
> the end of the text in it? Is there a specialized function for this?

value = theTextCtrl.GetRange(fromPos, toPos)


-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-users mailing list