I have created a wx.grid.Grid attached to a panel which is attached to a frame within one method (Method #1). Inside this method I also created a combobox.
When an item is selected in the combobox another method is called (i.e. When the event is called the method is runÂ…) Inside this method I want to fill the grid created in Method #1 with data generated/calculated from within Method #2 based on which item was selected from the combobox. How do I reference the grid from method #1 when I am in method #2? 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) Thanks! Lauren _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor