MouseEnter Event

Applies to:  Subclasser object, PowerForm control, Panel Control, HotButton Control, DirectionalButton Control
See also:  MouseHover event, MouseLeave event, HoverTime property, TrackMouse method, Event Index

Occurs when the mouse pointer enters the client area of the window subclassed by a Subclasser object or PowerForm control, or enters the opaque region of a Panel, HotButton, or DirectionalButton control..

Syntax:

Private Sub object_MouseEnter()

The MouseEnter event syntax has these parts:

Part Description
object The name of an object in the Applies to list.  If object is a SubClasser object, then the object must be declared using WithEvents.

Examples:

Mouse Roll Over Using Standard Controls

Mouse Roll Over (Hard Way)

 

Home

Copyright and Disclaimer