main logo
Subject: comparestate wrong on the first screen
Author: Philippe Sevin
Posted: 2001/04/18 11:43:40
 
View Entire Thread
New Search


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
<-- Prior Message New Search Next Message -->