Roll over buttons

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
 
A

Allen Browne

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.
 
G

Guest

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
 
P

Peter De Baets

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,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top