On Friday 31 October 2008 10:32:31 am johnf wrote:
> On Friday 31 October 2008 09:03:31 am johnf wrote:
> > On Friday 31 October 2008 09:02:05 am Ed Leafe wrote:
> > > On Oct 31, 2008, at 10:50 AM, johnf wrote:
> > > > First try and this update is hanging my forms??  Will attempt to
> > > > investigate!!!
> > >
> > >   I tested this on both Mac and Windows. I don't understand how
> > > changing the call order would hang your forms.
> > >
> > >
> > > -- Ed Leafe
> >
> > So far I have narrowed to at least one property I'm setting.  Just a
> > little more time.
>
> I was wrong about the property.  I get stuck in event loop and it does not
> allow any interaction with the form.  I have at least two forms that do it.
> I am of course trying to determine what is the same between the two forms.
> So far no luck.  BTW the issue appears on both Linux and Windows.

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.  


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