Change command button colour

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have seen nowhere how a command button colour is changed. Is it possible
through the GUI or programmatically?

Regards
GL
 
GL said:
I have seen nowhere how a command button colour is changed. Is it
possible through the GUI or programmatically?

Regards
GL

Commnad buttons have no built in BackColor other than the system color for 3-D
objects. You can use a bitmap to color them or use a label instead of a button.

Stephan Lebans has a utility that will let you color them as well. Check the
downloads on his web site.
 
Further to Rick's post see:
http://home.bendbroadband.com/conradsystems/accessjunkie/commandbuttons.
html
Command Buttons - Different Colors and Shapes

There is nothing built-in to Access that will allow you to change
the color of command buttons. Here are several options as work-arounds.

1. Use a label instead. Labels have click events and can be made to look
like a command button with some work.

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

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

4. Some simple colored button examples that can be copied into your
application are available at:
http://www.peterssoftware.com/clrbtn.htm

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

6. MVP Arvin Meyer has some "hover" style buttons here:
http://www.datastrat.com/Download/MouseMove.zip

7. And some more possibilities here:
http://www.mvps.org/access/forms/frm0053.htm

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
Back
Top