COMMAND BUTTONS IN COLOR ?

  • Thread starter Thread starter RICHARD BROMBERG
  • Start date Start date
R

RICHARD BROMBERG

Does anyone know how to change the background color on Command Buttons ?

Should be in the properties , but where ??
 
Access doesn't support this. You can create a bitmap with the color and text you
want on the button and use the picture property to simulate this or use a Label
instead of a button. You can manipulate the 3-D effect of the label in the MouseDown
and MouseUp events so it will (mostly) act like a button when clicked on.
Labels-As-Buttons cannot receive focus or be actuated with the keyboard though.

I believe Stephan Lebans has some tools for doing the former above at his
web site.

Yes, but he is changing the color of a button with his api code.

http://www.lebans.com/cmdbutton.htm

I have code for the second method at my website:

http://www.datastrat.com/Download/MouseMove.zip
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads:
http://www.datastrat.com
http://www.mvps.org/access
 
RICHARD BROMBERG said:
Does anyone know how to change the background color on Command Buttons ?

Should be in the properties , but where ??

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,
 
Back
Top