After years of using some modified ebizs, i'm trying to switch to CB61. I run in a problem that I need help with:
The memento.setstate in the init of the bizobj picks the wrong data. When I move to the next record, it asks me to save or cancel. After that, the ischanged() method works fine and I can click next/previous without being asked to save.
I would need to force the memento state at the end of the init of the form (this.obizobj.setstate(this.obizobj.calias)) but it's protected and I don't want to start modifying the base classes again.
Thanks for your help. ©2001 Philippe Sevin |