473,792 Members | 3,042 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Button colour

Hello
Why are my buttons always Grey? how can I change the colour of the button?

Tom
Nov 13 '05 #1
7 7368
"Tom Weston" wrote
Why are my buttons always Grey? how
can I change the colour of the button?


Buttons pick up one of the colors of the Windows color scheme chosen by the
user. In general, that is a good thing because the user is used to clicking
command buttons of that color and recognizes them. If you have other needs,
you can set the Button's Transparent property to Yes and place it over a
rectangle or label of the color you desire.

Larry Linson
Microsoft Access MVP
Nov 13 '05 #2
s
Tom Weston wrote:
Hello
Why are my buttons always Grey? how can I change the colour of the button?


perhaps they are sad
show them some understanding and tlc and they may brighten up

seriously i would not even try to change the button color unless the
functionality of the button has to do with colors, users are used to a
consistant ui

Nov 13 '05 #3
s wrote:
Tom Weston wrote:
Hello
Why are my buttons always Grey? how can I change the colour of the
button?

perhaps they are sad
show them some understanding and tlc and they may brighten up

seriously i would not even try to change the button color unless the
functionality of the button has to do with colors, users are used to a
consistant ui


If they notice them, on my requisition form I have buttons for Select
Bidders, Enquiry, Bid Details and Order. Each gets enabled depending on
if the package has progressed that far (e.g. if no order created yet,
the Order button is disabled). Not good enough for one client, they want
the bloody buttons to turn green as well :-(

--
Pretentious? Moi?
Nov 13 '05 #4
Access has nothing built-in to allow for changes in the command button
backcolor. There are some third-party tools that may help:

A shareware version of Button Painter for MS Access is available at
this web site: http://www.peterssoftware.com/bp.htm

Some simple colored button examples that can be copied into your
application are available at: http://www.peterssoftware.com/clrbtn.htm

Stephen Lebans has an example database that shows how to set a command
button back color and more: http://www.lebans.com/cmdbutton.htm

There are nice "Color Command Buttons" downloads at this site:
http://www.candace-tripp.com/access_downloads.htm

Hope this helps,

--
Peter De Baets
Peter's Software - MS Access Tools for Developers
http://www.peterssoftware.com

"Tom Weston" <t.********@dl. ac.uk> wrote in message news:<cj******* ***@blackmamba. itd.rl.ac.uk>.. .
Hello
Why are my buttons always Grey? how can I change the colour of the button?

Tom

Nov 13 '05 #5
On Fri, 01 Oct 2004 19:23:37 +0100, Trevor Best wrote:
s wrote:
Tom Weston wrote:
Hello
Why are my buttons always Grey? how can I change the colour of the
button?


perhaps they are sad
show them some understanding and tlc and they may brighten up

seriously i would not even try to change the button color unless the
functionality of the button has to do with colors, users are used to a
consistant ui


If they notice them, on my requisition form I have buttons for Select
Bidders, Enquiry, Bid Details and Order. Each gets enabled depending on
if the package has progressed that far (e.g. if no order created yet,
the Order button is disabled). Not good enough for one client, they want
the bloody buttons to turn green as well :-(


I think Stephen Lebans has something
http://www.lebans.com

but I would just use a label control.
If you add a label from the toolbox, (Special Effect Raised) you can
code it's Mouse Up (SpecialEffect = 1) and Mouse Down (SpecialEffect =
2) events to emulate the raised and sunken Special Effect of a command
button.
Code the label's click event as you would the command button.
--
Fred
Please only reply to this newsgroup.
I do not reply to personal email.
Nov 13 '05 #6
Thanks for all your help, I now have buttons other than grey.
Tom

"fredg" <fg******@examp le.invalid> wrote in message
news:1u******** *************** ******@40tude.n et...
On Fri, 01 Oct 2004 19:23:37 +0100, Trevor Best wrote:
s wrote:
Tom Weston wrote:

Hello
Why are my buttons always Grey? how can I change the colour of the
button?

perhaps they are sad
show them some understanding and tlc and they may brighten up

seriously i would not even try to change the button color unless the
functionality of the button has to do with colors, users are used to a
consistant ui


If they notice them, on my requisition form I have buttons for Select
Bidders, Enquiry, Bid Details and Order. Each gets enabled depending on
if the package has progressed that far (e.g. if no order created yet,
the Order button is disabled). Not good enough for one client, they want
the bloody buttons to turn green as well :-(


I think Stephen Lebans has something
http://www.lebans.com

but I would just use a label control.
If you add a label from the toolbox, (Special Effect Raised) you can
code it's Mouse Up (SpecialEffect = 1) and Mouse Down (SpecialEffect =
2) events to emulate the raised and sunken Special Effect of a command
button.
Code the label's click event as you would the command button.
--
Fred
Please only reply to this newsgroup.
I do not reply to personal email.

Nov 13 '05 #7
Tom Weston wrote:
Thanks for all your help, I now have buttons other than grey.
Tom


And I bet you dress like this:

http://www.imdb.com/gallery/ss/02175...ewis,%20Daniel
(http://tinyurl.com/58br9 to avoid wraps).

:-)

--
Pretentious? Moi?
Nov 13 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
43993
by: NONYA | last post by:
This is driving me crazy. I'm having trouble with how a simple radio button is displayed, in a simple html form. The default has the outline around the radio button shaded gray only in the top left hand side corner and on a white background it doesn't show up very well. I've seen multiple examples of radio buttons that are fully outlined in blue and the little dot is green. How the heck do I do this??? I've figured out how to change...
4
3225
by: AA Arens | last post by:
I use a sewt of buttons, created from the "Option Group". I would like to have the pushed button appearing in another color, so it is more clearier which button is pushed. How to proceed it? I am an amateur in VB. Bart
1
5884
by: A Ratcliffe | last post by:
Should be simple, but... Wanted to put some nice bitmaps on my First/Previous/Next/Last buttons, so I created four 16-colour bitmaps (as a test), used the traditional magenta colour for the transparent, and added an ImageList to the Form. I added the images to the ImageList, set the Transparent colour to Magenta, used the ImageList for the button images, and..... I still see the magenta on the buttons when I run the form...
7
13903
by: redneon | last post by:
Is it possible to change the border colour of a button whos FlatStyle is set to Flat? It's be nice to be able to change the width of the border too. Any ideas? Darrell
3
10644
by: Mel | last post by:
Hi, Is there any way I can force to change button background colour when toggle button is checked? Just like button change its background colour when mouseover in MS Visual Studio.NET. I hope I can get my question answered. Thank you very much.
6
7619
Sushi
by: Sushi | last post by:
Hello! I'm new to the Python language(about 2 months). Having done C programming for 2 years I find out I need Python for a final project, and have been trying to do get my head around object oriented programming. At the moment I'm simply trying to get the colour of a circle to change when you press a button. I've got this so far: from Tkinter import * class Op: def __init__(self, master):
5
1811
by: =?Utf-8?B?QW1pciBUb2hpZGk=?= | last post by:
Hi I have a search page which display a grid of master records. Those records that have children have a hyperlink that takes the user to the Details page for that record. How can I implement a Back button on the Details page that will take the user back to the original search page with all filter/search criteria and the grid filled in?
7
5733
by: Steve Swift | last post by:
How close can you get to making a submit button look like a link? Answers to the inevitable questions: 1. Because I don't want my email address (which would have to be part of the URL in a real link) becoming obviously visible. 2. Because I'm limited for space and even a styled button takes too much room. --
3
2628
by: bettyboo | last post by:
Hi I'm new to the forum and also a VERY new user of Access to develop databases. I'm building a DB for a driving instructor acquaintance, and he wants a button on the pupil data entry form which he can click to flag a pupil as "Do Not Rebook" (i.e. if they're a non-payer or something). Upon clicking the button, he wants a value to be recorded in the appropriate field in the table (so we can report on it later) and he also wants the...
0
9518
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10430
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10159
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9033
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7538
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5436
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5560
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4111
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2917
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.