PRB: Editing Embedded OLE Object in Place Does Not Save Change
Article ID: 128893
Article Last Modified on 2/12/2000
APPLIES TO
- Microsoft Visual FoxPro 3.0 Standard Edition
This article was previously published under Q128893
SYMPTOMS
Changes made to an OLE object in an OLE Container control on a form do not
appear after the form has been closed and re-run.
CAUSE
Because the form is an object, it is being run rather than defined and each
'run' calls the original object definition. Changes made to an OLE object
remain for the duration of the current session, but the changes are not
made to the object definition itself. Because no form event saved the
modified contents of the OLE object, the changes disappear when the form is
re-run.
RESOLUTION
Use a linked object in the container, or use a bound control. With either
solution the data within the object is data external to the definition of
the control.
STATUS
This behavior is by design.
Additional query words: VFoxWin OLE object control
Keywords: KB128893