Re: Significant Change in Object Programming [message #76041] |
Thu, 12 May 2011 12:48 |
penteado
Messages: 866 Registered: February 2018
|
Senior Member Administrator |
|
|
On May 12, 11:31 am, David Fanning <n...@idlcoyote.com> wrote:
> It used to be that if you stayed away from modifying
> the object lifecycle methods (INIT and CLEANUP) you
> could make changes to other methods, recompile the object
> code, and the changes would be immediately in effect.
> For lifecycle methods, you need to do a session reset
> and recreate your objects to put the changes into effect.
>
> It appears to me now that the SetProperty and GetProperty
> methods have been added the list of the "need a reset to
> work" methods. I suppose this makes sense because of the
> "automatic" way these methods get called, but it was a
> surprise to me and a source of great confusion!
Thanks for the tip. I had not noticed that change. I guess because in
the occasions when I was changing these methods I happened to do a
reset (common practice for me, to get rid of all the graphics windows
piling up), and when I did not do a reset it happened to be when not
changing these methods.
|
|
|