Button Colour

  • Thread starter Thread starter Guest
  • Start date Start date
No.
To get around this, you could use a label, and put your code in the on click
event. You could set the label to raised to make it look like a button.
Diarmuid
 
Just a simple one! Can you change the background colour of a button from grey?

Thanks.

Not using Access as delivered.

1) You can use an unbound label, color it as you wish.
Set it's SpecialEffects property to Raised, and code it's Mouse Up
event (LabelName.SpecialEffect = 1) and Mouse Down event
(LabelName.SpecialEffect = 2) to simulate movement.

Then code the label's click event as you would a command button.

2) Set a white colored background as the Command Button Picture
property. You can use MSPaint to create the white picture background.
(Include the caption in the MSPaint picture, not in the command button
caption property.) A small bit of practice to get the size right, but
once you do it it's easy.

3) See
http://www.lebans.com
for his command button work-around.
 
Back
Top