Wrox Programmer Forums
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old August 3rd, 2004, 02:52 PM
Authorized User
Join Date: Aug 2004
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts

Hey Bob,

I have been using the code you put on the forum. However, I have a question. Can you chang the cursor for a label. I can get it to work for the textbox but not the label. Can you help??

Old August 3rd, 2004, 04:28 PM
Friend of Wrox
Join Date: Jun 2003
Posts: 1,093
Thanks: 1
Thanked 12 Times in 11 Posts

You should be able to drop a label on your form and add the following MouseMove event:

Private Sub Label0_MouseMove(Button As Integer, _
    Shift As Integer, X As Single, Y As Single)


End Sub

Works fine on my end. Are you possibly calling ChangeCursorDefault instead of ChangeCursorHand?



Old August 4th, 2004, 09:23 AM
Authorized User
Join Date: Aug 2004
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts

I had already written the code similar to your, but when I deleted it and used your code, it worked. Thanks for the help.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mouse Ravikiran VB.NET 1 June 8th, 2007 04:57 PM
Where's my mouse? Giant_robot_sandwich Javascript How-To 2 January 9th, 2007 09:22 AM
Mouse Wheel dartcoach VB How-To 0 November 12th, 2006 03:09 PM
On Mouse Over teresagoh Javascript 1 February 13th, 2006 10:11 AM
what my mouse is on? nerssi Javascript 3 August 9th, 2005 01:34 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.