473,324 Members | 2,501 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,324 software developers and data experts.

Changing color in a button

me
Hello,

I have a question about how too change the background of a command button
once it has been click from aliceblue to azure.

TIA,

Aaron

Nov 20 '05 #1
10 1205
Forgive me if it is not but, is it a joke?

"me" <wu_jen at hotmail dot com> escribió en el mensaje news:%2***************@TK2MSFTNGP11.phx.gbl...
| Hello,
|
| I have a question about how too change the background of a command button
| once it has been click from aliceblue to azure.
|
| TIA,
|
| Aaron

Nov 20 '05 #2
Hi José,
I'm quite sure Aaron is not joking. Either Aaron is working with a .NET
Platform button or some custom control and or picture box. .NET allows for
colored buttons, finally!
Cheers,
Christian
"José Manuel Agüero" <jmaguero_vodafone.es> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Forgive me if it is not but, is it a joke?

"me" <wu_jen at hotmail dot com> escribió en el mensaje
news:%2***************@TK2MSFTNGP11.phx.gbl...
| Hello,
|
| I have a question about how too change the background of a command button
| once it has been click from aliceblue to azure.
|
| TIA,
|
| Aaron
Nov 20 '05 #3
* "me" <wu_jen at hotmail dot com> scripsit:
I have a question about how too change the background of a command button
once it has been click from aliceblue to azure.


In its 'Click' event handler, set its 'BackColor' property to
'Color.Azure'. Please do not make excessive use of X-posts.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #4
me
Herfried,

Sorry about the cross-posting.

Aaron

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:%2***************@tk2msftngp13.phx.gbl...
* "me" <wu_jen at hotmail dot com> scripsit:
I have a question about how too change the background of a command button once it has been click from aliceblue to azure.


In its 'Click' event handler, set its 'BackColor' property to
'Color.Azure'. Please do not make excessive use of X-posts.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>

Nov 20 '05 #5
Cor
Hi Christian,

Did you check the difference in those colours (there is a diference)? Do you
think a user will see that when it is changing?

So maybe there is a special purpose, but I can imaging why Jose asks this.
I have a question about how too change the background of a command >button

once it has been click from aliceblue to azure.

Cor
Nov 20 '05 #6
* "me" <wu_jen at hotmail dot com> scripsit:
Sorry about the cross-posting.


Are you asking the question for the Windows Forms button control or the
Web Forms button control?

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #7
Cor
Hi Herfried,
Are you asking the question for the Windows Forms button control or the
Web Forms button control?


Is there a reason for this question, this is one of the occassions where it
is exactly the same for a windowform as a webform.

The button is one of the rare controls that are very much the same on a
winform and a webform. (Has even automaticly the postback property on true).

button1.backcolor and event is button1.click

:-)))

Cor
Nov 20 '05 #8
* "Cor" <no*@non.com> scripsit:
Are you asking the question for the Windows Forms button control or the
Web Forms button control?


Is there a reason for this question, this is one of the occassions where it
is exactly the same for a windowform as a webform.

The button is one of the rare controls that are very much the same on a
winform and a webform. (Has even automaticly the postback property on true).

button1.backcolor and event is button1.click


Thank you for clarifying that.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #9
Hi Cor,
Okay I understand your comments now. You just didn't understand why he
would want to make such an infinitesimal change in the colors. That makes
sense.
Cheers,
Christian Blackburn

"Cor" <no*@non.com> wrote in message
news:O0**************@TK2MSFTNGP09.phx.gbl...
Hi Christian,

Did you check the difference in those colours (there is a diference)? Do you think a user will see that when it is changing?

So maybe there is a special purpose, but I can imaging why Jose asks this.
I have a question about how too change the background of a command

button
once it has been click from aliceblue to azure.

Cor

Nov 20 '05 #10
Hi

<ELEMENT onclick="this.style.backgroundColor='THENEWCOLOR'" ....>

--
Best Regards
Vidar Petursson
==============================
Microsoft Scripting MVP
http://www.microsoft.com/technet/scriptcenter
==============================
"me" <wu_jen at hotmail dot com> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl...
Hello,

I have a question about how too change the background of a command button
once it has been click from aliceblue to azure.

TIA,

Aaron

Nov 20 '05 #11

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

Similar topics

5
by: martin | last post by:
I needed a way to display calculated, multiple, changing values (numerical sums) as users interacted with the page, and do this without going back to the server to load the page again. What I...
23
by: Wade | last post by:
08122005 1505 GMT-5 Hello. I am working on a webpage for the local school (just before school starts). Their outside hired company really screwed things up. Im trying to get their computers up...
3
by: Michael | last post by:
Hi everyone, I am trying to change the field names for a table that is being exported via Excel. Its a spreadsheet that our National Office sends us but even after promise after promise they...
3
by: Jeff | last post by:
Hi I have a report with a graph on it and want to change the minimum and maximum values for the value axis when it is previewed. This can't be done by adding code in the Open event as once the...
1
by: VINAY | last post by:
Dear All, The subject line could be bit confusing. So let me explain in details, please have patience. I have developed an ActiveX Control(Combo Box Control) in VB6 for a touch screen...
1
by: Firewalker | last post by:
I am attempting to change the backColor property on the previously instantiated buttons FROM a listbox_doubleClick event. I thought it would be something like this: If...
7
by: Sakharam Phapale | last post by:
Hi All, How to preserve the old font properties while changing new one? I posted same question 2 months back, but I had very small time then. eg. "Shopping for" is a text in RichTextBox and...
32
by: deko | last post by:
I have a popup form with a textbox that is bound to a memo field. I've been warned about memo fields so I'm wondering if I should use this code. Is there any risk with changing the form's...
1
by: Blasting Cap | last post by:
I am having trouble changing the font for a PushButton control in a datagrid button column. I have seen several posts refer to styles and simple changes to the HTML for font changes but most of...
8
by: mike_solomon | last post by:
I have a button <input type="submit" name="Delete" value="Delete"> This code can not be changed I want to use Javascript to change the type I tried:
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.