Użytkownik Ed Leafe napisał:
>       If I were to try to code something like what you want, I'd call the 
> confirmChanges() first, and then, if canceled, exit the the method:
>
> def openDashboard(self, evt):
>       if self.confirmChanges() is None:
>               return
>       self.close()
>       dabo.ui.createForm("frmDashboard.cdxml", show=True, parent=None)
>    

Hi.

Under what conditions confirmChanges() return None vale, Ed?
It returns only True if you can proceed or False otherwise.

-- 
Regards
Jacek Kałucki

_______________________________________________
Post Messages to: [email protected]
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/[email protected]

Reply via email to