On Friday 31 October 2008 07:15:51 am Ed Leafe wrote:
> dabo Commit
> Revision 4628
> Date: 2008-10-31 07:15:50 -0700 (Fri, 31 Oct 2008)
> Author: Ed
> Trac: http://svn.dabodev.com/trac/dabo/changeset/4628
>
> Changed:
> U   trunk/dabo/ui/uiwx/dPemMixin.py
>
> Log:
> Moved the call the __updateDynamicProps() to the end of the update() method
> and wrapped it in a callAfter() so that any udpated values will be set
> before dynamic props are re-evaluated.
>
> Diff:
> Modified: trunk/dabo/ui/uiwx/dPemMixin.py
> ===================================================================
> --- trunk/dabo/ui/uiwx/dPemMixin.py   2008-10-31 14:12:26 UTC (rev 4627)
> +++ trunk/dabo/ui/uiwx/dPemMixin.py   2008-10-31 14:15:50 UTC (rev 4628)
> @@ -1208,14 +1208,11 @@
>                       # This can happen if an object is released when there 
> is a
>                       # pending callAfter() refresh.
>                       return
> -
> -             self.__updateDynamicProps()
> -
>               if isinstance(self, dabo.ui.dForm) and 
> self.AutoUpdateStatusText:
>                       self.setStatusText(self.getCurrentRecordText())
> -
>               if self.Children:
>                       self.raiseEvent(dEvents.Update)
> +             dabo.ui.callAfter(self.__updateDynamicProps)
>
>
>       def __updateDynamicProps(self):

First try and this update is hanging my forms??  Will attempt to 
investigate!!!
John Fabiani


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

Reply via email to