Dennis Meulensteen wrote:
> Hi all,
>
> can someone please explain how the object model works?
>
> I know that I can use the Class Designer's Object Info panel to view the
> relationships between graphical objects. I know how to use self.Form to get
> to those objects and their properties.
>
> But how on earth do I create a button that calls a BuzObj's SetWhere method?
> Dabo keeps telling me there's no such global object whenever I call the
> BusObj by name. Whatever I prefix it with doesn't seem to help either, I've
> tried self.Form and such, but no luck.
>
> I undersatnd I'm asking a ton of stupid questions, but I promise I will add a
> nice tutorial to the Wiki once my (small) app is working to my satisfaction.
>
> Regards,
> Dennis
>
# onHit method for your button
def onHit_btnRefresh(self, evt):
self.Form.requerybysearch()
# requerybysearch() of your form
def requerybysearch(self):
myBizobj = self.getBizobj(dataSource="PERSON")
myBizobj.setWhereClause("")
self.refresh()
Uwe
_______________________________________________
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]