johnf wrote: > 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?
Right. I wasn't recommending the approach, just trying to help in the understanding of things. -- pkm ~ http://paulmcnett.com _______________________________________________ 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]
