Ok, I think that the Form level update is not filtering thru to all the children. I ran the app, did a ctrl-d and issued self.update() with no joy. However,if I issue an update on the object itself, which is 4 levels down, it is sets the property correctly.
Larry -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ed Leafe Sent: Tuesday, October 09, 2007 7:27 PM To: Dabo Users list Subject: Re: [dabo-users] Passing a function via the setAll On Oct 9, 2007, at 3:56 PM, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote: > Is there a way to implement this? > > self.Form.transqtypanelID.setAll('DynamicReadOnly',self.isReadOnly) > > def isReadOnly(self) > ret=logic > return(ret) > > without enumerating each object individually? That should work, since the recurse parameter defaults to True. I just tried it with several dynamic properties, and a call to update() does indeed update them all. -- Ed Leafe -- http://leafe.com -- http://dabodev.com [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]
