I have two classes, one inheriting wx.Frame and othe is wx.Dialog. I use the dialog to collect some info and I call its object in the wx.Frame class. The problem is, the dialog should return the value of its TextCtrl values and I have no Idea how to do it :)

I can grab the values via GetValue and make a tuple to return, but then I have no Idea how I can return the values to wx.Frame before I destroy the dialog

cheers!

Thanks alot, I hope that will settle the matter.
If there is any trick then feel free to add it guys

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.