I'm trying to learn python and dabo at the same time, thus not necessarily
being efficient.
That said, the app I am building is basically several independent forms
launched from a dashboard.
Launch a form and the dashboard closes and the form launches. If they want
to launch another form they must click on the dashboard icon in the toll bar
of the new form to get back to the dashboard. The current form close, and
the dashboard etc etc...
My problems is that I want to leave the CheckForChanges active, but when
there are unsaved changes, and the user is prompted, click Cancel stops the
form from closing but still launches the dashboard.
I've partially achieved what I want but I know it's not right because if I
click cancel in AreYouSure dialog the dialog stays visible and I have to
click cancel a second time but it does stop the dahsboard from launching.
Here's my code:
def openDashboard(self,evt):
self.close()
val = self.confirmChanges()
if val == True:
dabo.ui.createForm("frmDashboard.cdxml", show=True, parent=None)
else:
pass
HELP!
A n00b in need is a .....n00b
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]