473,382 Members | 1,431 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,382 software developers and data experts.

On Mouse Over

Hi Guys,

Is there an On Mouse Over event that is available in Access (Ver 200 pro)?

What I'd like to do is change the text in a Label (say DescrLabel) when the
mouse pointer is placed over a Button (say ActButton). Any ideas would be
gratefully received.

Cheers all,

Raist.
Nov 12 '05 #1
6 15113
Try placing a rectangle object around the button and use the objects "On
Mouse Move" event to toggle the text in the label. the first time the event
triggers, change the text. The next time it triggers, change it back to the
original text.
"Raistlin" <ra******@nospamfankoo.com> wrote in message
news:Rj***************@newsfep4-winn.server.ntli.net...
Hi Guys,

Is there an On Mouse Over event that is available in Access (Ver 200 pro)?

What I'd like to do is change the text in a Label (say DescrLabel) when the mouse pointer is placed over a Button (say ActButton). Any ideas would be
gratefully received.

Cheers all,

Raist.

Nov 12 '05 #2

"Tom marsh" <le*******@goodwill-suncoast.com> wrote in message
news:Me******************@twister.tampabay.rr.com. ..
Try placing a rectangle object around the button and use the objects "On
Mouse Move" event to toggle the text in the label. the first time the event triggers, change the text. The next time it triggers, change it back to the original text.


<SNIP>

Hi Tom,

Thanks for that idea. Do you have any suggestions on the best way to code
this?

I've tried as you suggested just using a simple macro to accomplish the
change unfortunately it tends to get out of sync somehow (I sometimes end up
with the text visible when the mouse isn't over the button and invisible
when it is!). I'm assuming this would be better in VBA but can't for the
life of me see how to get it to work.

Thanks again,

Raist.

Nov 12 '05 #3

"Tom marsh" <le*******@goodwill-suncoast.com> wrote in message
news:yF*****************@twister.tampabay.rr.com.. .
Yes, this can sometimes get out of sync. Just use the button's mouse over
event to toggle the label as well. For instance, in the button's "On Mouse Move" event, set the label's text to what you want it to be. This will, in effect, "correct" your toggle when it get's out of sync. If this fails,
your final solution, although it is more resource intensive, is to get rid
of the rectangle object altogether. Use the "On Mouse Move" event of your
button to set the text, use the "On Mouse Move" event of the Form itself to set it back. This is guaranteed to work, but will bog down a slow computer. Use it as a last result.


<SNIP>

Thanks for that advice Tom, I'll give it a try tomorrow and see how I get
on.

Cheers,

Raist.

Nov 12 '05 #4

"Arvin Meyer" <a@m.com> wrote in message
news:8q*****************@newsread1.news.atl.earthl ink.net...
All the code you need is in one of the sample databases on my website:

http://www.datastrat.com/Download/MouseMove.zip


<Snip>

Hi Arvin,

Thanks for providing that link, unfortunately whenever I try to open the
file I get a message saying that it is not a valid archive. Is it possible
that the file is corrupted? I'm using WinZip)

Thanks,

Raist.

Nov 12 '05 #5
I just downloaded and tested the archive. Everything is fine so the
problem is on your end. Try downloading the file from Arvin's site
again.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"Raistlin" <ra******@nospamfankoo.com> wrote in message
news:C9*****************@newsfep4-winn.server.ntli.net...

"Arvin Meyer" <a@m.com> wrote in message
news:8q*****************@newsread1.news.atl.earthl ink.net...
All the code you need is in one of the sample databases on my website:
http://www.datastrat.com/Download/MouseMove.zip
<Snip>

Hi Arvin,

Thanks for providing that link, unfortunately whenever I try to open

the file I get a message saying that it is not a valid archive. Is it possible that the file is corrupted? I'm using WinZip)

Thanks,

Raist.


Nov 12 '05 #6

"Stephen Lebans" <St***********@mvps.org> wrote in message
news:0G********************@ursa-nb00s0.nbnet.nb.ca...
I just downloaded and tested the archive. Everything is fine so the
problem is on your end. Try downloading the file from Arvin's site
again.


<Snip>

All working now, thanks Stephen, thanks Arvin.

Raist.

Nov 12 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: John Champaign | last post by:
Hi all, I'm working on an educational applet for a child with special needs. He's got a bit of a trick to make my life more difficult... To interact with the applet he needs to click on...
7
by: fernandoronci | last post by:
Hi, I've been given the task of mantaining and fixing a website which I didn't design. I'm using Internet Explorer 5.5 and 6.x. Specifically, the problem is that navigation menues (written in...
3
by: Logan Mckinley | last post by:
I need to be able to detect mouse movement even when it is not over my application. I can get the mouse cords using MousePosition but I am not sure if there is an event that hits my program when...
8
by: NeoAsimov | last post by:
Hello, There is what I want to do. I worked on the problem since 6 hours but I had a problem (probably stupid) and I dont know how to resolve it. I need to have an Mouse Event Click when...
2
by: Anders Eriksson | last post by:
Hello! I have a program with three views ------------------------------------ | | | | 1 | 2 | | | ...
5
by: Nikolay Petrov | last post by:
I have a ListBox, which is binded to a DataTable. I would like to display a tooltip when the mouse cursor hovers over the items in the ListBox. I don't know how to find the index if ListBox item,...
5
by: Pavan | last post by:
My goal is to accomplish the tooltip functionality for all the neodes in a tree view and i have the following three Events in my C# application. Name of my TreeView Control (AITreeView) 1)...
2
by: Rudiga | last post by:
Hi, Is there any kind of mouse over type method in C#, that will change the mouse to a different pointer when the mouse is over a picture box. The reason i as is that i am intending to use a...
6
by: Rob | last post by:
This is a curious problem. It seems like it should be quite easy. Of course a timer is used to determine when form should be closed, but how do you consistently reset the timer when the mouse is...
2
by: markszlazak | last post by:
In the following script, a control displays (black box) in each table cell once you mouse over the cell. Mouse down on the control to change the mode of the table. Drag the mouse over cells in the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...

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.