On Tuesday 04 November 2008 10:36:38 am Paul McNett wrote: > johnf wrote: > > I have noticed that self.object.Fit() seems to work. Does Fit() call > > update()? > > I've noticed you guys using wx-specific calls a lot. Fit() is another > example. The Dabo call would be self.object.fitToSizer(): > > http://paul.dabodev.com/doc/api/dabodoc/dabo.ui.uiwx.dPemMixin.dPemMixin.html#Methods_fitToSizer > > Fit() probably raises an UpdateEvent, which Dabo catches and calls > update(). > > Paul
I think you are right. But mostly in Larry's form. We have issues of long loads and other issues. The thinking was some of the load issues had to do with Dabo. So in an effort to increase performance I believe we tried direct calls. Larry's form is extremely complex and and we need it to work so he/we do what ever it takes. But I think it's also true that Larry has not always used the best approch to getting the job done. But that is not the main cause of the issues the form has. Larry's is always pushing the edge. And rather than reporting the problems he runs into he attempts to program around them. For example when the addWhere did not work for him he decided to use a temp cursor. Yes it works but it avoids the framework and all the features available from the framework. So at each level (feature of the form) we see work arounds. BTW I'm not saying Larry's code is bad. In fact I believe everything Larry has done should work. It's just that as he continues to add features more issues appear. And then there is the recent change Ed gave us to dPermMix. It took a long time to figure out find the root cause. Even now I'm unsure that we are going about this correctly. But this function is required - somehow we need to be able to change the screen view from pounds to kilos. There are lots of things we need that appear to be missing. For example I don't know how to get a lookup in a grid cell. But I need one. Then the problem of not knowing what's there - dMaskedTextBox is a good example. I haven't checked into it yet but if it matches the wxPython stuff I'm happy. I'm guessing you didn't know about it too. -- 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]
