|
BeforeMove (Event)
This event occurs before some objects are moved to a relative new location
Syntax:
Private Sub object_BeforeMove(Sender As System.Object, e As BeforeMoveEventArgs)
The BeforeMove 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 move
|
e.mDx
|
Single
|
the relative x new location
|
e.mDy
|
Single
|
the relative y new location
|
e.fCancel
|
Boolean
|
A Boolean expression that if it is True then this event is canceled
|
Example
|