Will do!

Thanks again,
Lauren :-)

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Alan Gauld
Sent: Monday, August 11, 2008 4:27 PM
To: tutor@python.org
Subject: Re: [Tutor] How to reference a wx.grid.Grid outside the
methodinwhich it was created?


<[EMAIL PROTECTED]> 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.

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to