DocGenericEvent_OnProperties event

Occurs when a user views or edits the property pages of a document or folder.

Syntax

DocGenericEvent_OnProperties(Command, Abort)
Parameters

Name

Description

Command

A long integer that represents one or more AS_PROP_CMD constants described in the following table.

Abort

Set to True to abort the operation.

Remarks

This event occurs in the Meridian client applications when Command includes the constants indicated in the following table.

AS_PROP_CMD
constants
Constant Action Meridian Web Client PowerUser

AS_PS_CMD_VIEW2

Start property page viewing.

AS_PS_CMD_EDIT

Start property page (wizard) editing.

AS_PS_CMD_APPLY1,2

Click Next to apply changes to the current page.

AS_PS_CMD_FINISH

Click Finish to apply changes to the last page and stop property page (wizard) editing.

AS_PS_CMD_CANCEL2

Click Cancel to discard changes and stop property page (wizard) editing.

Note    
  1. This constant is represented in PowerUser only when the Finish button is clicked at the end of a wizard. In the Meridian Web Client, it is included every time the Next button is clicked for a wizard page.
  2. Not available in the Meridian Web Client in the in the DocGenericEvent_OnProperties event.

Warning    

Use this event with much caution. In PowerUser, when Command includes 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.

We recommend that you not execute other actions, make modifications to the document content, invoke anything that takes a relatively long time, or invoke any user interface functions during this event. Such actions can have unexpected or unpredictable results.

Related concepts

About the document generic events