Mouse Over Highlight

  • Thread starter Thread starter aubrey
  • Start date Start date
A

aubrey

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,
 
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".
 
Hi Dorian,

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

Aubrey,
 
aubrey said:
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.
 
Back
Top