Użytkownik Carey Gagnon napisał:
> 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
>
I can't see a reason it doesn't work for you since it works for me,
but I missed close() call in earlier code, here is the correct one:
def initProperties(self):
self.openDasboardForm = False
def openDashboard(self, evt):
self.openDasboardForm = True
self.close()
def beforeClose(self, evt):
if self.openDasboardForm:
dabo.ui.callAfter(dabo.ui.createForm, "frmDashboard.cdxml",
show=True, parent=None)
--
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]