BeforeCopy

Top  Previous  Next

 

BeforeCopy (Event)

 

This event occurs before some objects are copied to a relative new location

 

Syntax:

Private Sub object_BeforeCopy(Sender As System.Object, e As BeforeCopyEventArgs)

 

The BeforeCopy event syntax has the following parts:

Argument

Data Type

Description

Sender

System.Object

Is the object that raises the event

e.lHandles()

Integer

The handles of the objects to be copy

e.cDx

Single

Is the relative x new location

e.cDy

Single

Is the relative y new location

e.fCancel

Boolean

This event trigger can be canceled by changing this parameter to true

 

Example