MouseEvents Object


Description

The MouseEvents object supports a set of events that can be received by clients who are interested in mouse input from the end-user.

Properties

Name Description
Application Returns the top-level parent application object. When used the context of Inventor, an Application object is returned. When used in the context of Apprentice, an ApprenticeServer object is returned.
MouseMoveEnabled
Parent Gets the parent object from whom this object can logically be reached.
PointInferenceEnabled
PointInferences Gets the inferencing object.
Type Returns an ObjectTypeEnum indicating this object's type.

Events

Name Description
OnMouseClick Event that occurs when the user presses and then releases a mouse button.
OnMouseDoubleClick Event that occurs when the user presses and releases a mouse button and then presses and releases it again in quick succession.
OnMouseDown Event that occurs then the user presses a mouse button and begins to hold it down for a perceptible time.
OnMouseLeave Event that occurs when the user moves the mouse out of a view.
OnMouseMove Event that occurs when the user moves the mouse. The position moved to is described by the arguments of this event.
OnMouseUp Event that occurs when the user transitions out of a MouseDown position, releasing the mouse button.

Accessed From

InteractionEvents.MouseEvents

Samples

Name Description
OnDrag Event - dragging a WorkPoint This sample demonstrates the use of the OnDrag event to drag fixed work points when no command is active. This sample only allows drags parallel to the X-Y plane. This sample is dependent on events and VB only supports events within a class module.

Version

Introduced in version 5