>
> 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
>

I noticed that the self.close() was missing and put it in myself, but I put
it in the wrong order:
DOES NOT WORK
def openDashboard(self, evt):
     self.close()
     self.openDasboardForm = True

DOES WORK
def openDashboard(self, evt):
     self.openDasboardForm = True
     self.close()

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]

Reply via email to