Ed, That works...kinda. The sizer refreshed properly, however I got a dead object error upon exiting the app and using your suggestion would be problematic if the Dynamic method is used by multiple objects since the method doesn't know anything about the object..iow I had to issue dabo.ui.callAfter(self.Form.<objregid>.Parent.layout) explicitly
Larry -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ed Leafe Sent: Thursday, November 20, 2008 11:26 AM To: Dabo developers' list Subject: Re: [dabo-dev] Update/Layout issue with Dynamic Properties On Nov 20, 2008, at 9:56 AM, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote: > I think that the way dabo refreshes the form needs to be re-visited. I haven't seen that behavior in any of my apps. We recently fixed several problems with Dynamic* props being set too early in the process; now the update happens near the end of the event stack. Try this: in your method that calculates the value for DynamicVisible, add the line: dabo.ui.callAfter(obj.Parent.layout) ...and see if that makes a difference. -- Ed Leafe [excessive quoting removed by server] _______________________________________________ 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]
