Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > BOOK: Professional C#, 2nd and 3rd Editions
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional C#, 2nd and 3rd Editions
This is the forum to discuss the Wrox book Professional C#, 3rd Edition by Simon Robinson, Christian Nagel, Karli Watson, Jay Glynn, Morgan Skinner, Bill Evjen; ISBN: 9780764557590
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional C#, 2nd and 3rd Editions section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 27th, 2003, 04:35 PM
Registered User
 
Join Date: Nov 2003
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to change the back color of toolbat

hi,
  Maybe this is a simple question, but I cannot find the solution for
many days. I found there is a property of ToolBar named "BackColor"
then, I coded like this: toolBar1.BackColor = Color.Blue;
But it doesn't work. How to use this property? Or how can change the
backcolor? Thanks

allen

  #2 (permalink)  
Old January 8th, 2004, 12:37 AM
DAK DAK is offline
Registered User
 
Join Date: Jan 2004
Location: Rocklin, CA, USA.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

backcolor doesn't show up in the designer, but does show as a property...but I got the same result: color doesn't change.
  #3 (permalink)  
Old April 5th, 2005, 10:07 AM
Registered User
 
Join Date: Apr 2005
Location: Cochin, Kerala, India.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I think for doing this u will have to create a user control and inherit it from toolbar class and over ride with the back color property and then create a DLL and add the dll through your components.Then u will be able to see the back color property in the design environment and will be able to set the back color you want.

  #4 (permalink)  
Old August 15th, 2005, 02:37 AM
Registered User
 
Join Date: Aug 2005
Location: Dhaka, , Bangladesh.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi allenfei,
may be the following link will be helpful for u.

http://www.codeproject.com/cs/miscct...TabControl.asp

thanks
--Nazma


 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
change only the first item in array's back color i remya1000 .NET Framework 1.x 1 November 5th, 2007 10:43 PM
form back color; saidan C# 2005 12 October 29th, 2007 08:16 AM
back color of cell of datagrid rajessnit@gmail.com VB.NET 1 November 18th, 2006 03:28 AM
re: color change jack_in_black ASP.NET 2.0 Professional 0 July 11th, 2006 07:24 AM
DataGrid row back color related to datalist id's jgd ASP.NET 2.0 Basics 0 May 4th, 2006 09:21 AM



All times are GMT -4. The time now is 10:33 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.