Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Mouse-Pointer change while moving over a Form/Grid

Mouse-Pointer change while moving over a Form/Grid

Mouse-Pointer change while moving over a Form/Grid

I like to have a different mouse-pointer while it's over a Grid on the form.
Changing when I coming from grid to form I solve by "DBGrid.Mouse Move"

Changing back when I coming from grid to Form is there any better way to do as using "Form.MouseMove" ??

The reason, I have several controlls on the form absolutely next to the grid, this mean I have to do it everywhere.

Is there any event like "MouseLeave" ????
maybe someone can help me :)))


RE: Mouse-Pointer change while moving over a Form/Grid

If I understand what you are trying to do you can simply set the property of each control to display a different icon for the mouse when it is over the control. On your dbgrid control look at the mousepointer property and set it to what ever icon you want (at design time or run time)

RE: Mouse-Pointer change while moving over a Form/Grid


Unfortunately, there is _not_ a MouseLeave - though I wish there were! - or similar event, at least not through VB 5.0. VB 6.0 may have it, but I doubt it. Afraid you'll have to accept using a lot of code unless you can create a user-defined control and generate your own MouseLeave property/event.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close