Background color of a Command Button changeable?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • emandel
    New Member
    • Dec 2006
    • 65

    Background color of a Command Button changeable?

    I see how to change size, text color, but why can't I change the backgroud color of a command button?
  • MMcCarthy
    Recognized Expert MVP
    • Aug 2006
    • 14387

    #2
    Originally posted by emandel
    I see how to change size, text color, but why can't I change the backgroud color of a command button?
    This is one of the mysteries of Access. One solution is to create a label to look like a command button (i.e.) set it's appearance to raised and colour it as you like then put the code in the label click event rather than the command button.

    Mary

    Comment

    • NeoPa
      Recognized Expert Moderator MVP
      • Oct 2006
      • 32636

      #3
      Originally posted by emandel
      I see how to change size, text color, but why can't I change the backgroud color of a command button?
      As Mary says - It's a bit weird.
      You can use the Transparent option though, with something like a coloured Label behind it. This keeps all the facilities of the Command Button available, but requires the addition of an extra control (unless you just wanted to make it show the same background as already on the form).

      Comment

      Working...