Full Version: Colour of Command buttons?
UtterAccess Discussion Forums > Microsoft® Access > Access Forms
dragon_katana
Hi all,

Is it at all possible to change the colour of a command button on an Access form?

I'm sick of the dreary grey. :(

Cheers

Jonathan
AJS
You can't modify the appearance of the standard command button, but check out this demo by Candace Tripp.

-AJ
Garfieldm842
No.

One solution is to place a transparent command button over a label and then change the backcolor of the label on the mousedown event of the command button and then restore the color on the mouse up.
The reason for the transparent command button on top is that when you click and hold the mouse button down on a command button and then move off a command button and release the mouse button the code will not fire. However, when you click a label and then move off of it the code will fire no matter what.

Best of luck!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.