problem accessing input values from TextEntryDialog inside a frame class.

hello,
I am finding one strange problem.
I can't access the value of the text entry dialog in my frame.
the code looks like this
class myframe(wx.Frame):
""" the initial code here """
   self.dialog = wx.TextEntryDialog(None,"enter text here ","title
here ", "").ShowModal()
   #self.name = self.dialog.GetValue()

the code I commented out with a # is not working. rather I am using
eclipse and pydev and after giving a . after dialog I get many methods
including __init__ but not GetValue()
what could be wrong?
I will be putting it in an mdi child and the code I gave above is in
the __init__(self):
of the myframe class.
thanks,
Krishnakant.

krishnakant Mane wrote:

hello,
I am finding one strange problem.
I can't access the value of the text entry dialog in my frame.
the code looks like this
class myframe(wx.Frame):
""" the initial code here """
  self.dialog = wx.TextEntryDialog(None,"enter text here ","title
here ", "").ShowModal()
  #self.name = self.dialog.GetValue()

the code I commented out with a # is not working. rather I am using
eclipse and pydev and after giving a . after dialog I get many methods
including __init__ but not GetValue()
what could be wrong?

Have you tried running it? My guess is that it is just pydev that is confused.

···

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

yes I tried running it.
the code is not working.
thanks,
Krishnakant.

···

On 07/02/07, Robin Dunn <robin@alldunn.com> wrote:

Have you tried running it? My guess is that it is just pydev that is
confused.