Change Colour of Navigation Buttons and Command buttons?

rubyred77

Registered User.
Local time
Today, 03:27
Joined
Mar 7, 2006
Messages
17
Is this possible? I can't seem to find this q anywhere here so I thought I'd post.

I changed the colour of my form to white, but the Navigation Buttons at the bottom and the command buttons that I 've added stay at the default grey.

Is there anyway to change this? I right-clicked and tried changing it to white through the properties but there's nothing there that does this.

:confused:
 
For the command buttons goto properties>format & change transparent to yes.
Not sure what to do about the navigation buttons
 
Unfortunately, Access does not allow you to change buttons from their lovely grey colour. But all is not lost – you can make the button APPEAR to change colour…

Create a label that appears as you want the button to look, with the background colours etc. Place the command button DIRECTLY on top of the label. (this might take a little fiddling about). Then set the command button Transparent property to Yes. The button is effectively invisible, but still works. The users see the label and when they click on it, the command button works.
 
Command Buttons...

Can be formatted, but be warned, you can be walking into a whole world of pain!

If you want to try this, instead of using the standard button from the toolbox, select the "More controls" from the toolbox (hammer & wrench icon) and select "Microsoft Forms x.x Command Button" and paste that onto your form. If you do not see this option, you probably don't have the add-in enabled.

This control has more formatting options than the standard one, including fore & back colours, border formats and colours, mouse pointer etc. BUT there is no wizard, so you will have to write your own code for the "Click" events etc. There is also the possibility of upgrade/compatibility issues as well, as this is not internal to Access, but to the whole Office suite.

If this hasn't put you off, have a go, you can create some very "interesting" buttons that work well.

Have Fun...!
Rod
 
That wasn't working for me (but thanks a lot for the suggestions), however I created a very TEDIOUS work around.

I am not a coder at all, but I figured out a way to do this.

1. Create the command button with the grey
2. Copy the code from this button (Design View > Rt click on button > Properties > All > OnClick > ... )
3. Paste this code into the "On Click" property for the image you placed there in the button's place
4. Go into the Code Builder and rename all of the greybutton-names to the new image name

This is a pain in the arse, but it works.

Good luck!

E
 

Users who are viewing this thread

Back
Top Bottom