Get position of text in wx.TextCtrl ?

Hi Trey,

···

On 10/31/07, Trey K wrote:

---------------------------------------------------------------------
Traceback (most recent call last):
  File "find_replace.py", line 64, in DoFind
    find_pos=self.code.Value.find(find_string)
AttributeError: 'TextCtrl' object has no attribute 'Value'
---------------------------------------------------------------------

Hmm. Also tried find_pos=self.code.GetValue.find(find_string)

Try something like this:

find_pos = self.code.GetValue().find(find_string)

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/