Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms Programming / March 2005

Tip: Looking for answers? Try searching our database.

How to change the background color of a command button...

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Brad Pears - 09 Mar 2005 18:03 GMT
How on earth can you do this? I do not see a background colour property for
command buttons at all...

In VB you have to set the style to "graphical" to have this option available
to you - but I see no such thing in Access 2000!

Help!

Thanks,

Brad
Rick Brandt - 09 Mar 2005 18:09 GMT
> How on earth can you do this? I do not see a background colour
> property for command buttons at all...
>
> In VB you have to set the style to "graphical" to have this option
> available to you - but I see no such thing in Access 2000!

That's because there is no such option.  You can either use a label instead
or use a bitmap to provide the color you want.

Stephan Lebans websit has a utility that provides for colored buttons.

Signature

I don't check the Email account attached
to this message.     Send instead to...
RBrandt    at       Hunter      dot      com

Jeff Conrad - 09 Mar 2005 18:11 GMT
> How on earth can you do this? I do not see a background colour property for
> command buttons at all...
>
> In VB you have to set the style to "graphical" to have this option available
> to you - but I see no such thing in Access 2000!

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

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

Signature

Jeff Conrad
Access Junkie
Bend, Oregon

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.