Roll over buttons

  • Thread starter Thread starter Martin
  • Start date Start date
M

Martin

Please could someone explain how I can create a roll over
button on my form that changes to a different color when
the mouse moves over it.
Best Regards
Martin
 
Use the MouseMove event of the button to set its ForeColor (the color of the
text), and then use the MouseMove of the form's Detail(?) section to reset
the color again.
 
thanks for that.
The problem is, I have used a graphic picture as a button
and when you click it, it runs a macro to open a form.
What I want to happen is when the mouse hovers over it, it
changes to a similar picture which is a different colour.
Regards
Martin
 
Access has nothing built-in to allow for changes in the command button
backcolor. There are some third-party tools that may help:

A shareware version of Button Painter for MS Access is available at this web
site: http://www.peterssoftware.com/bp.htm

Stephen Lebans has an example database that shows how to set a command
button back color and more: http://www.lebans.com/cmdbutton.htm

There's a nice "Color Command Buttons" download at this site:
http://www.candace-tripp.com/access_downloads.htm

Hope this helps,
 
Back
Top