Wednesday, May 7, 2008
Ignoring Component-Changed State
I've mentioned the component-changed state a few times in the past. A component
is always aware of whether any data has been changed, either by the user or
by PeopleCode. This then determines whether Save processing code runs and whether
the "You have unsaved data" warning/prompt is displayed. It's easy to tell a
component that data has changed—either change some data in the buffer or call the
SetComponentChanged() function.
It's not so easy to tell the component to forget...
More...