On Oct 31, 2008, at 1:29 PM, johnf wrote:

> On Linux and Windows the CPU goes to 100%.
>
> I'm using DynamicSelectedPageNumber from dPageFrameMixin.py to  
> update a
> control based on dPageFrameNoTabs in both of the forms.  I wonder if  
> the
> order of Ed's change has caused the problem.  Could it be that calling
>   if self.Children:
>                         self.raiseEvent(dEvents.Update)
>   dabo.ui.callAfter(self.__updateDynamicProps)
>
> and then
> self.__updateDynamicProps calls update (or something) again and gets  
> stuck in
> a loop? Because I am looping in dPageFrameNoTabs.showPage()
>
> Not really sure the true root cause only that I am looping in
> dPageFrameNoTabs.showPage() for that control.
>
> I am using the control to dynamicly display panels/pages on my form.


        Try this: change the callAfter call to callAfterInterval(100, ...

        Let me know if that fixes your issue.

-- Ed Leafe





_______________________________________________
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