Occurs when a user views or edits the property pages of a document.
Syntax
DocGenericEvent_OnProperties(Command, Abort)
Name |
Description |
---|---|
Command |
A long integer that represents one or more AS_PROP_CMD constants. |
Abort |
Set to True to abort the operation. |
Remarks
This event occurs in PowerUser when Command contains any of the AS_PROP_CMD constants. This event occurs in Web Access only when Command contains AS_PS_CMD_EDIT (start property editing), AS_PS_CMD_APPLY (apply changes to the current page), or AS_PS_CMD_FINISH (end property editing). In those cases, the event is not read-only.
Warning Use this event with much caution. In the desktop clients, when Command contains AS_PS_CMD_VIEW, setting Abort to True will prevent display of all property pages. Attempting to set property values at that time can cause errors such as "The object is currently being edited by another session" and lost data.
Related concepts