Hello, I am using wxpython and I am having trouble passing variables from one frame to another. If I have a parent frame – frame1 – and I call a dialog using the following text:

 

        dlg = wxDialog2.wxDialog2(self)

        try:

            dlg.ShowModal()

        finally:

            dlg.Destroy()

 

where in this bit of code would I pass a variable to the new dialog? I tried several things but I can’t seem to get it to work. Thanks!

 

Jeff

_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to