Change Button Colour

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

Guest

I am new to Access and am designing my first database. It seems to be going
okay but I would like to change the colours of the buttons(command button)
that I have used on my forms. Is this possible? Many thanks.
 
For your first database, it's best to stick with the gray command buttons.
Access command buttons are always gray.
You can make other things (e.g. labels) change colors and work like command
buttons, but while you're getting the hang of Access, it's awfully handy to
be able to use the wizards which build code for command buttons.
 
See:
http://www.lebans.com/cmdbutton.htm
CommandButton.zip is a database containing functions to allow a user
defined BackColor and Rotated Text for Command Buttons.

NEW - Jan. 26/2000 This version includes 2 functions. One for Form
Design view and one for Form View at Runtime.

1) Use API Color Dialog to select BackColor.

2) User Selectable degrees of rotation for Text in controls Caption.

3) Use in Form Design or Form View at Runtime.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
Just to add to Sensei's response, here is some additional information:

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

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

2. Sensei 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
 
Thanks, I had a go at Button Painter, the buttons looked great, unfortunately
for the database to work on any computer it would cost me about £200. I did
buy the cheaper option but that only works with the computers that have the
add-in. I think I will still have some fun playing about with it, many
thanks again.
 
Thanks for your time. I think this might be a bit too advanced for me but I
think I will look at it again once I know a bit more about Access. Thanks
again.
 
Back
Top