> > And what about: > > def initProperties(self): > self.openDasboardForm = False > > def openDashboard(self, evt): > self.openDasboardForm = True > > def beforeClose(self, evt): > if self.openDasboardForm: > dabo.ui.callAfter(dabo.ui.createForm, "frmDashboard.cdxml", > show=True, parent=None) > > -- > Regards > Jacek Kałucki >
That works fine to prevent the Dashboard from opening if the Cancel button is clicked but fails to open the Dashboard if the Yes or No button is clicked. But between you and Ed you've given me a different perspective and somethings to play around with Thanks Carey --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- _______________________________________________ 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]
