On Sunday 02 November 2008 08:19:45 am johnf wrote:
> I just wanted to update you on some testing I have done.  I checked my
> forms on a different computer (a laptop) and I got the same trouble again -
> the program goes into a loop.  I had to increased the delay time by fifty
> for each test.  And I had to go from 100  to 300 before the form would run
> correctly.  So on my linux and windows desktops I only need 100 for the
> delay and for a laptop running Linux I needed 300.
>
> So you see the length of time required for the delay depends on the
> computer. I think we should re-think this change.
>
> Maybe the trouble is not with this change but the way
> dPageFrameNoTabs.showPage() works?  I'm using dPageFrameNoTabs as a way to
> display different controls in the same location.  The different
> dPageFrameNoTabs are displayed depending what is selected from a
> dropdownlist.  We have been using this technique for over a year and I
> think got the idea from the wiki.

I started to check my code and discovered that I am using Dynamic properties 
all over the place.  For example I have

def _getUseDynamicReadOnly(self):
        return getattr(self, "_UseDynamicReadOnly", False)
    def _setUseDynamicReadOnly(self, val):
        self._UseDynamicReadOnly = val
    UseDynamicReadOnly = property(_getUseDynamicReadOnly, 
_setUseDynamicReadOnly)

def afterInitAll(self):
        self.setAll('Editable',self.Editable)
        self.setAll('UseDynamicReadOnly',self.UseDynamicReadOnly)
        self.setAll('ForceReadOnly',self.ForceReadOnly)


The above is the kind of code I have in many controls on the dPageFrameNoTabs.  
So it may not just be dPageFrameNoTabs.  



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