473,405 Members | 2,185 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Access MouseOver?

218 Expert 100+
Anyone got any idea how to imitate a mouseover event in Ms Access 2002/2003?

I have the feeling I'm probably onto a loser here...
TIA

Steve
Apr 20 '07 #1
9 5783
pks00
280 Expert 100+
mouseover? do u mean do something when u move the mouse over a certain control?

U cud have a look at the MouseMove event
Apr 20 '07 #2
cyberdwarf
218 Expert 100+
I don't think that will give me what I'm looking for.

I need to track which detail row the mouse cursor is over, within a scrolling form of multiple records...

Can't see how to pick up the Primary Key, for example, of the particular row under the mouse cursor...

Thanks anyway

Regards

Steve
Apr 20 '07 #3
Rabbit
12,516 Expert Mod 8TB
I don't think there's a way to do what you want.
Apr 20 '07 #4
pks00
280 Expert 100+
You can pick up the cursor positions using api functions like GetCursorPos. But for what you what, identifiying records, that I dont think is feasible.
The records displayed could be different records displayed so you cant even sort of fix it.
Apr 21 '07 #5
NeoPa
32,556 Expert Mod 16PB
We've been here before CyberDwarf (Mouse & Subform)

Please visit this thread to see why we would rather you didn't double-post (Please do Not Double Post ).

Use the X & Y parameters of the MouseMove event procedure to determine where on the form the mouse is.
As pks00 says, associating this with an individual record showing on the screen at that time, is a lot more difficult and I'm afraid I don't have an answer for you. I'm sure we'd all be interested to hear from anyone if they find, or can provide, an answer to this.
Apr 25 '07 #6
missinglinq
3,532 Expert 2GB
Is the Primary Key showing on the form, and if so exactly what do you want to do once you've identified it?
Apr 25 '07 #7
Rabbit
12,516 Expert Mod 8TB
We've been here before CyberDwarf (Mouse & Subform)

Please visit this thread to see why we would rather you didn't double-post (Please do Not Double Post ).

Use the X & Y parameters of the MouseMove event procedure to determine where on the form the mouse is.
As pks00 says, associating this with an individual record showing on the screen at that time, is a lot more difficult and I'm afraid I don't have an answer for you. I'm sure we'd all be interested to hear from anyone if they find, or can provide, an answer to this.
The problem is that the mousemove event doesn't trigger in a continuous form for either the form header/footer or the current record it is on. Plus it doesn't trigger if it's actually moving over a control so you'd have to check to see if the x and y position are within the outermost limits.
Apr 25 '07 #8
NeoPa
32,556 Expert Mod 16PB
Doesn't look like this'll be an easy one then, you reckon?
Apr 25 '07 #9
Rabbit
12,516 Expert Mod 8TB
Doesn't look like this'll be an easy one then, you reckon?
I think so. Sounds pretty difficult.

Perhaps global variables and the mouse move event to keep track of where the mouse cursor is. You'll also need to leave some form space both above and below the controls because if you're moving the mouse from control to control the mouse move event will never trigger.

The record set will also need to be sorted and ranked so it can lookup the correct record depending on the Y coordinate.

Edit: This will be impossible if there's a scrollbar, because even though you scroll down, the actual coordinates don't change at all. So unless there are only a few records, it's not going to work.
Apr 25 '07 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: OysterCracker | last post by:
Hi - I've previously used js to swap images on mouseover in a menu. I'm stumped on a different situation and would appreciate some advice. I would like to swap imageA to ImageB when I mouseover...
3
by: richk | last post by:
For some reason when I add additional buttons a 3rd button and beyond i cant get the effect to work and I get errors...I cant understand why... <SCRIPT LANGUAGE = "javascript"><!-- if...
14
by: J. Makela | last post by:
Hallo. This should be a pretty entertaining question for you *real* javascript writers.. I, being the lowly photoshop guy at an ad agency made the mistake of actually saying "HTML" in a...
2
by: Alex | last post by:
On my page I have a lot string like this: <span onmouseover="callMe(this)" onmouseout="callMe(null)" >abc1</span> <span onmouseover="callMe(this)" onmouseout="callMe(null)" >abc2</span> <span...
1
by: Reginald Johnson | last post by:
I'm trying display a popup on the mouseover of a jpeg image. I'm thinking of trying to populate the popup with text obtained from the image metadata. However, I haven't been able to find any...
3
by: Annette Acquaire | last post by:
I have and image map with a dozen hotspot links on it that I'm trying to get to open a new image over existing one on mouseover of each COORD. The only thing I was able to do was swap image on...
23
by: Schannah | last post by:
I'm trying to create a design which mimics the Radiohead website in the action on this page, but the problem is that they use PHP for the effect and I have no idea about PHP. I'm very amateur: fairly...
1
by: dave345 | last post by:
This javascript issue is in an app using C# / .Net 2.0 running on XP. First post, please mention if I mess up any conventions of this forum. I’ve got a mouseover event that only works properly...
2
by: markszlazak | last post by:
I'm a relatively slow response of table cells changing their background color with mouseover/our in IE6 (Win 2K) but the response is fine (fast) in Firefox. Why? The code is below. Sorry about the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.