Change Mouse Pointer

Vassago

Former Staff Turned AWF Retiree
Local time
Today, 15:44
Joined
Dec 26, 2002
Messages
4,696
I actually have two questions:

Is there a way to change the mouse pointer to the hyperlink hand on mouseover?

Is there a way to select a record on a continuous form on mouseover?

Thanks!

Vassago
 
Thanks! What about selecting the current record?
 
what do you mean "select it"?
 
On a continuous form, normally you would have to click a record for the record selector to select that record so you can modify it. I would like it to select that record on mouseover instead of onclick if this is possible. Please let me know.

Thanks!
 
You can select a specific field using the Mouse Move Event for that field
 
Thanks Rich. That's what I want. How do I do that? My mind is drawing blank. :confused:
 
Boy...im stumped. All I could come up with is this

Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
DoCmd.GoToRecord , , acGoTo, Me.CurrentRecord
End Sub


But it just takes you to the record you are on. I can figure out how to tell where you are. I know there is a way because I downloaded one that does that but cant remember where I got it from.
 
Rich!!! Where the heck are you? :(
 
Rich said:
You can select a specific field using the Mouse Move Event for that field

Can you please tell me how to accomplish this? I have no idea how to on a continuous form. :confused:
 
Thanks for the link, however, I followed these steps the best I could. I still cannot figure out how to get this to work correctly. Maybe you could take a look and tell me what I'm doing wrong.

Here is a sample of the database. It's the same database I posted before. On the form "frm_softwaresub", I would like it to happen on mousemove when the pointer is over "Name" on the coninuous form. Please take a look and tell me what I am doing wrong. I've tried everything I can think of. :( :( :(

Vassago
 

Attachments

Sorry, I posted the wrong one, here you go!

I need this so badly to work right and I don't know what I"m doing wrong.
 

Attachments

You need to enable the textbox, the code Dim pt As POINTAPI etc belongs in the MouseMove event for that textbox
 
Thanks for the reply again, unfortunately it's still not quite working.

I moved the script to the mousemove event (stupid error on my parr) and enabled the text box, and it's still not working correctly. It's coming up with the following error now:

automation type not supported in visual basic.

and my text box called "ctlBack" is getting the "#Name?" error now. Please take another look at the database now. I have included a new copy with the changes you suggested.

Thanks a lot for your help in figuring out this problem. I really need this thing working and it's driving me mad.

:confused: Vassago
 

Attachments

What did I do wrong? It works perfectly now. Thanks!
 

Users who are viewing this thread

Back
Top Bottom