Show TOC

OfficeControl EventsLocate this document in the navigation structure

Use
  • onClose

    Action executed when the document is closed. This is the case if the document is displayed in a separate window and the user closes the document either using the key combination Alt + F4 or the close icon in the Office program toolbar.

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard Parameter

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard Parameter

  • onError

    Event triggered if an error occurs.

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard Parameter

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard Parameter

    ID

    I

    ID of message class

    MESSAGE

    STRING

    Number of the message in the message class

  • onSave

    Action executed when the document is saved. This action is also triggered when a document that has been changed is closed. The document is saved when the user presses key combination CTRL + S, or chooses the save icon the Office program toolbar.

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard Parameter

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard Parameter