R
Russ Phillips
I'm just starting to learn Python & wxPython. I have a frame named
frSend in a file fSend. On this frame is a wxTextCtrl named txtMsg. I
have a module named defs.py
I would like to get the value of txtMsg from within defs.py
I tried the following:
BodyText = fSend.frSend.txtMsg.GetValue ()
When I run it, I get the following error:
AttributeError: class frSend has no attribute 'txtMsg'
Any help much appreciated.
Russ
frSend in a file fSend. On this frame is a wxTextCtrl named txtMsg. I
have a module named defs.py
I would like to get the value of txtMsg from within defs.py
I tried the following:
BodyText = fSend.frSend.txtMsg.GetValue ()
When I run it, I get the following error:
AttributeError: class frSend has no attribute 'txtMsg'
Any help much appreciated.
Russ