Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > BOOK: Professional C#, 2nd and 3rd Editions
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 27th, 2003, 04:35 PM
Registered User
 
Join Date: Nov 2003
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

 
Old January 8th, 2004, 12:37 AM
DAK DAK is offline
Registered User
 
Join Date: Jan 2004
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.
 
Old April 5th, 2005, 10:07 AM
Registered User
 
Join Date: Apr 2005
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.

 
Old August 15th, 2005, 02:37 AM
Registered User
 
Join Date: Aug 2005
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







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 [email protected] 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





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.