On 7 Jan 2007 01:33:32 -0800, Frank Millman <[EMAIL PROTECTED]> wrote:
> The essential point is that you save a reference to the frame when you > create the panel. Then when the button is clicked you can use the > reference to call the frame's Close method. Or you could look into Dabo. This is one of those common needs that has been built into the framework. Any object on a form (a wx.Frame) can simple reference 'self.Form' to get a reference to the containing frame. Controls that are contained within other controls (such as inside panels or notebook pages) can always reference that container with 'self.Parent'. -- # p.d. -- http://mail.python.org/mailman/listinfo/python-list