[wxPython-users] WXtextCtrl

Robin Dunn robin at alldunn.com
Mon Feb 4 10:49:26 PST 2008


craig harris wrote:
> Hello
> 
> Is there a way to find some text in a textCtrl? I can see a replace 
> method but don't know how to find some text.

You can get the value of the control and then search it in Python using 
regex or the find method of the string or unicode object.

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





More information about the wxpython-users mailing list