main logo
Subject: Re: comparestate wrong on the first screen
Author: Ed Leafe
Posted: 2001/04/18 12:01:14
 
View Entire Thread
New Search


<i><font color="#663300">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.</font></i>

Can you explain why the Init() of the form is causing this problem? Perhaps there are better ways to accomplish what needs to be done.
<font color="#cc0000"> ___/
/
__/
/
____/</font>
Ed Leafe
 
©2001 Ed Leafe
<-- Prior Message New Search Next Message -->