Paul McNett wrote:
>>>> Is there any way I can use it to get to the form to call .update?
>>> No, and I don't understand why you are resisting just calling
>>> self.Form.update() when needed.
>> cuz self is my BO, which has no Form or any other reference to the form.
>
> Bingo, your event handler is in the wrong layer.
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()
--
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]