Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determine Mouse Events
Message
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00588986
Message ID:
00589086
Views:
16
>Can someone show me how to determine MouseEnter and MouseLeave
>events for a Line control in VB?
>
>I want to know when the user moves the mouse over the control,
>and I want code for both the mouse entering and leaving the control.
>
>Thanks

There are no events for the line control. If you are trying to react to the mouse pointer being at the edge of another control use the MouseOver event of that control and determine if the pointer is at the edges by checking the X and Y coordinates.

HTH
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform