Subject: How to change the back color of toolbat
Posted By: allenfei Post Date: 11/27/2003 3:35:10 PM
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

Reply By: DAK Reply Date: 1/7/2004 11:37:53 PM
backcolor doesn't show up in the designer, but does show as a property...but I got the same result: color doesn't change.
Reply By: virtualmenon Reply Date: 4/5/2005 10:07:34 AM
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.

Reply By: Nazma Reply Date: 8/15/2005 2:37:16 AM
hi allenfei,
may be the following link will be helpful for u.

http://www.codeproject.com/cs/miscctrl/ColoringTabControl.asp

thanks
--Nazma



Go to topic 33830

Return to index page 490
Return to index page 489
Return to index page 488
Return to index page 487
Return to index page 486
Return to index page 485
Return to index page 484
Return to index page 483
Return to index page 482
Return to index page 481