By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,124 Members | 2,208 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,124 IT Pros & Developers. It's quick & easy.

Background color of a Command Button changeable?

emandel
P: 65
I see how to change size, text color, but why can't I change the backgroud color of a command button?
Jan 1 '07 #1
Share this Question
Share on Google+
2 Replies


MMcCarthy
Expert Mod 10K+
P: 14,534
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
Jan 1 '07 #2

NeoPa
Expert Mod 15k+
P: 31,616
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).
Jan 1 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.