A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Mouse Over Highlight



 
 
Thread Tools Display Modes
  #1  
Old October 5th, 2009, 04:16 PM posted to microsoft.public.access.forms
aubrey
external usenet poster
 
Posts: 48
Default Mouse Over Highlight

Good Morning All,

I have a bitmap image that i have inserted into my form and added an onclick
procedure to. Is there a way to highlight that image when my mouse move over
it; similar to command buttons.

Thanks in advance for any help,
  #2  
Old October 5th, 2009, 04:33 PM posted to microsoft.public.access.forms
Dorian
external usenet poster
 
Posts: 542
Default Mouse Over Highlight

No you cannot highlight an image, you will need a second image to replace the
first when the mouseover occurs.
-- Dorian
"Give someone a fish and they eat for a day; teach someone to fish and they
eat for a lifetime".


"aubrey" wrote:

Good Morning All,

I have a bitmap image that i have inserted into my form and added an onclick
procedure to. Is there a way to highlight that image when my mouse move over
it; similar to command buttons.

Thanks in advance for any help,

  #3  
Old October 5th, 2009, 05:44 PM posted to microsoft.public.access.forms
aubrey
external usenet poster
 
Posts: 48
Default Mouse Over Highlight

Hi Dorian,

Is there a way to run a "mouseover" procedure. I see mousedown/move/up, but
not mouse over.

Aubrey,

"Dorian" wrote:

No you cannot highlight an image, you will need a second image to replace the
first when the mouseover occurs.
-- Dorian
"Give someone a fish and they eat for a day; teach someone to fish and they
eat for a lifetime".


"aubrey" wrote:

Good Morning All,

I have a bitmap image that i have inserted into my form and added an onclick
procedure to. Is there a way to highlight that image when my mouse move over
it; similar to command buttons.

Thanks in advance for any help,

  #4  
Old October 5th, 2009, 06:30 PM posted to microsoft.public.access.forms
Dirk Goldgar
external usenet poster
 
Posts: 2,529
Default Mouse Over Highlight

"aubrey" wrote in message
...

Is there a way to run a "mouseover" procedure. I see mousedown/move/up,
but
not mouse over.



MouseMove is the equivalent of MouseOver. Note that the MouseMove event
will fire whenever the mouse is moved over the control, even if it's already
over it, so your highlighting code for the event would do well to set a flag
so it can tell whether the mouse was already over the control. Also you
need to use the MouseMove event of the surrounding section or control to
reset the highlighting. This can sometimes be problematic for controls on
the edge of the form.

--
Dirk Goldgar, MS Access MVP
Access tips: www.datagnostics.com/tips.html

(please reply to the newsgroup)

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:32 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.