dragon_katana
Mar 8 2005, 09:00 AM
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
You can't modify the appearance of the standard command button, but check out this
demo by Candace Tripp.
-AJ
Garfieldm842
Mar 8 2005, 09:10 AM
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!