On Friday 01 June 2007 11:11, Paul McNett wrote:
> I forgot to point out, however, that thanks to the evt arg, you do have
> a reference into the UI layer. So if you really wanted your UI event
> handlers to be in the bizobj you could do it, *and* call update() even:
>
> class MyBizobj(dabo.ui.dBizobj):
> def onButtonHit(self, evt):
> ...do stuff
> evt.EventObject.Form.update()
This of course is a general violation of the separation of the layers - Right?
Why not have the lostfocus evt fire the .update. Or how about a refresh
button?
def myOnButtonHit(self,evt):
self.Form.update
evt.stop()
--
John Fabiani
_______________________________________________
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]