_DMcGraphOverlayEventsMoveSelected Method
|
|
The selected object(s) are about to be moved or have just been moved.
Namespace:
MediaCy.IQL.Display.Overlays
Assembly:
MediaCy.IQL.Display.Overlays (in MediaCy.IQL.Display.Overlays.dll) Version: 10.0.6912.0
SyntaxSub MoveSelected (
Overlay As McGraphOverlay,
Object As McGraphObj,
AboutToMove As Integer
)
Parameters
- Overlay
- Type: MediaCy.IQL.Display.OverlaysMcGraphOverlay
the event source overlay. - Object
- Type: MediaCy.IQL.Display.OverlaysMcGraphObj
First graphic object to be moved or just moved.
This will be the first selected McGraphObj with the mcgsAllowMove Style
bit set. Call Object.GetPosition when AboutToMove is 1 and then again
when it is 0 to see how far the objects were moved. - AboutToMove
- Type: SystemInt32
If 1, the selected objects are about to be moved.
If 0, the objects will have just been moved.
RemarksThis event is fired both before and after objects are
moved via the the MoveSelectedObjects method. The AboutToMove argument
signals whether the event is the one before or after the move. The
event sink would normally use the first event (AboutToMove equals 1)
to pick up the Position of the SelectedGraphObj and the second
event to pick up its Position after the move.
Note |
---|
If the MoveSelectedObjects Dragging argument is TRUE, then the
MoveSelected event is fired with AboutToMove set to 1 on only the first
call, and no event is then fired until a call is made with Dragging FALSE.
The idea here is to avoid a series of events during dragging. |
See Also