Ed,
Would this be a horrible idea?:
Index: dPemMixin.py
===================================================================
--- dPemMixin.py (revision 6042)
+++ dPemMixin.py (working copy)
@@ -1270,7 +1270,8 @@
def __onUpdate(self, evt):
"""Update any dynamic properties, and then call the update()
hook."""
- if isinstance(self, dabo.ui.deadObject) or not
self._constructed():
+ if isinstance(self, dabo.ui.deadObject) or not
self._constructed() \
+ or not self.Visible:
return
self.update()
I have some commonly-used dialogs tied to bizobjs that I hide() instead of
release()
for optimization purposes but when I navigate the main bizobj, update() is
occurring
for the hidden dialog, and sometimes there's no record in the bizobj at the
time,
causing an exception. Also, it seems like a waste of cycles to update something
that
isn't Visible anyway.
Thoughts?
Paul
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[email protected]