Ed Leafe wrote:
> On Apr 16, 2007, at 7:08 AM, Uwe Grauer wrote:
>
>> Can you please explain how dForm.cancel() should behave on
>> a form which contains pages on a pageframe.
>> I have such a form with a master-detail relationship.
>> When i do a dForm.cancel() after editing a record i expect
>> that changes are canceled but i still get the
>> "do you want to save changes dialog" after i called the
>> dForm.cancel() and want to close the form.
>>
>> What am i missing?
>
> I don't know, but pageframes have nothing to do with this.
>
> How are your business objects related?
>
> -- Ed Leafe
I use two bizobjs which have a master-detail relationship.
This is my createBizobj func:
def createBizobjs(self):
# EtypEnum
etypBizobj = EtypBizobj(self.Connection)
self.addBizobj(etypBizobj)
enumBizobj = EnumBizobj(self.Connection)
enumBizobj.addOrderBy("sort_order")
self.addBizobj(enumBizobj)
enumBizobj.LinkField = "etyp_iid"
etypBizobj.addChild(enumBizobj)
etypBizobj.addOrderBy("e_tok")
Nothing special.
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]