BlueCielo Meridian Enterprise 2012 Developer's Guide | BlueCielo ECM Solutions

BeforeCopy event

This event occurs when the user selects to copy a document or folder.

Syntax
Private Sub AMUIExtension_BeforeCopy(
          ByVal CurrentObject As Object,
          ByVal TargetFolder As AMEDM.IAMFolder,
          Abort As Boolean)
Parameters
Name Description

CurrentObject

The document or folder (AMDocument object).

TargetFolder

The folder to which the object is copied.

Abort

Setting this argument to True will abort the operation. The AfterCopy event will not occur.

Remarks

The equivalent VBScript event is the Copy script event. See the Meridian Enterprise Configuration Guide for more information.

To determine whether a document or a folder has been selected, you can use the IsFolder property.

Copyright © 2000-2012 BlueCielo ECM Solutions