473,387 Members | 3,820 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Background color of a Command Button changeable?

emandel
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
2 4700
MMcCarthy
14,534 Expert Mod 8TB
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
32,556 Expert Mod 16PB
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

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

Similar topics

10
by: wideopensvt | last post by:
I'm having a display issue with Javascript pages on a new computer. Background colors don't appear within tables or frames in Internet Explorer 6. Example #1:...
7
by: John Baker | last post by:
Hi: I imagine there are hundreds of responses to this question, but i cant find any on the site using a search. How do you change the background color of buttons? I know there must be an easy...
4
by: TTD | last post by:
Hi, I have a form (formA) which is maximized. On that form I have a button which opens formB in restore-mode. But when I leave formB, I don't get formA maximized on the foreground, but it's the...
3
by: Susan Bricker | last post by:
Is it possible to make command buttons (in forms) have a background color? Or is there a means to simulate a command button and make it have a background color and able to kickoff a 'click' event?...
1
by: Thanks | last post by:
I have a routine that is called on Page_Init. It retrieves folder records from a database which I display as Link Buttons in a table cell. I set the table cell's bgcolor to a default color (say...
6
by: WJ | last post by:
Is there a way to specify background image for an Aspx page at runtime in c# ? I clicked on the Web form in the IDE (Vs.Net 2003) and it shows "DOCUMENT", which is not accessible inside code behind...
10
by: Karl-Inge Reknes | last post by:
Hi, Can anyone tell me how to change a table cells background color or background image in runtime with C#. Karl-Inge
8
by: =?Utf-8?B?R3JlZyBMYXJzZW4=?= | last post by:
I'm trying to figure out how to modify a panel (panel1) from a backgroundworker thread. But can't get the panel to show the new controls added by the backgroundwork task. Here is my code. In...
0
by: =?Utf-8?B?Sm9obk1TeXJhc29mdA==?= | last post by:
I've got a Windows Forms application. There is a form that may be shown by clicking a command button on either of 2 other forms. I use ShowDialog in all cases to get modal behavior. When the app...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.