[Tutor] How to reference a wx.grid.Grid outside the method inwhich it was created?
Alan Gauld
alan.gauld at btinternet.com
Tue Aug 12 01:27:15 CEST 2008
<lauren at protopc.com> wrote
Currently I am receving this error message:
"NameError: global name 'myGrid' is not defined."
It's an error against this statement in method #2:
myGrid.SetCellValue(i, 0, myValue)
As a general rule when posting to the list include the full
error trace not just a summary. The tracelback often has
useful info.
In this case it wasn't needed however. :-)
Alan G.
More information about the Tutor
mailing list