943,865 Members | Top Members by Rank

Ad:
  • C# Discussion Thread
  • Unsolved
  • Views: 3809
  • C# RSS
May 13th, 2009
0

changing colors of button

Expand Post »
Hi

How do i change the color of the button using code? i cant change it using the toolbar because i created the button using code as well.

Thanks
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
dip7 is offline Offline
22 posts
since May 2009
May 13th, 2009
0

Re: changing colors of button

Does the button have a BackColor property ?
button.BackColor = Color.Red;
Reputation Points: 69
Solved Threads: 75
Posting Pro in Training
JerryShaw is offline Offline
465 posts
since Nov 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C# Forum Timeline: CSS
Next Thread in C# Forum Timeline: TryEnter always return true in Timer Event





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC