Hi,

What is the correct way to close a dialog in code?

I have a new issue with a dialog causing a seg fault.   I've run into this in 
the past and would like to know the correct way to clo

I have a button that calls _reschedCancel.  The dialog "X" calls onClose().  
My code does the following:

 def _reschedCancel(self,evt):
        self.RetVal = 'Cancel'
        self.onClose()
        
    def onClose(self, evt=None):
        self.RetVal = 'Cancel'
                self.release()


Johnf


_______________________________________________
Post Messages to: Dabo-users@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/200909171053.42897.jfabi...@yolo.com

Reply via email to