Change color of a button

L

lynda

I want to be able to change my command buttons' color, I
don't want it is always grey, but I cannot find the color
property. It has forecolor, but it is for font, Where can
I set up button's color? Thanks!
Best Regards
Lynda
 
F

Fredg

Lynda,
The Access command button does not have the option to change background
color.

You can emulate a command button by using a Label. You can then code the
Label's Mouse Down and Mouse Up events to give the Label a raised or sunken
special effect when clicked. It will operate just like a command button.

You can place a colored rectangle under an existing command button.
Then Format + Send to Back.

or visit
http://www.lebans.com
for Steven Lebans version of a colored command button.
 
S

Steve Coombes

Hi Lynda -

The best you'll be able to do is use a picture (placing whatever text you
might want on the button within that picture). Sorry... blame Microsoft. :-(
 
L

lynda

Thanks Steve and Fred. I take Fred's advice using a lable
instead of button, as Fred said, it works fine just as a
button. Thanks!
Best Regards
Lynda
 
P

Peter De Baets

Lynda,

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

Some simple colored button examples that can be copied into your application
are available at: http://www.peterssoftware.com/clrbtn.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