[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

On Mouse over change color

Posted on 2005-04-21
2
Medium Priority
?
196 Views
Last Modified: 2010-04-07
Who knows the C # code to change the fore color of a button control on mouse over ?

Thanks in advance.
0
Comment
Question by:PsychoDazey
2 Comments
 
LVL 23

Accepted Solution

by:
b1xml2 earned 1000 total points
ID: 13836366
btnItem.Attributes["onmouseover"] = "this.style.color = 'red';";
binItem.Attributes["onmouseout"] = "this.style.color = 'black';";
0
 
LVL 6

Author Comment

by:PsychoDazey
ID: 13836465
perfect, Thanks!
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses
Course of the Month17 days, 18 hours left to enroll

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question