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 Web Access only when Command contains AS_PS_CMD_APPLY, AS_PS_CMD_EDIT and AS_PS_CMD_FINISH. 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