Alternative to command button

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Has any one used an alternative to command buttons ? I am looking to be able
to change the back colour.

Thanks
Danny
 
Has any one used an alternative to command buttons ? I am looking to be able
to change the back colour.

Thanks
Danny

The back color of what? The command button?

You can't 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 color work-around.
 
Back
Top