Setting BackColor of ToolStrip

I have a ToolStrip in a VB2005 WinForm app. When I place it on the Form, it has the nice blue gradient color with a 3D effect. If I look at the BackColor property at this point in time it is set to "Control". I then programmatically set its BackColor to Red. The ToolStrip correctly turns Red. I then programmatically set its BackColor back to 'Control". Instead of it going back to the blue gradient 3D look, it turns Gray and looks flat (does not have the 3D look), How can I get it to revert back to its original color and 3D look?
SETPAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

REA_ANDREWCommented:
What is the render mode set at for the toolstrip menu?

Andrew
0
VelioCommented:
try setting it to Color.Empty instead of SystemColors.Control
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
SolutionsCSCommented:
Hi, just change the rendermode to system and then choose your backcolor.  That's all.  Good luck
0
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

SETPAuthor Commented:
REA_ANDREW: The render mode is at its default: ManagerRenderMode. Just in case, I've tried setting the RenderMode back to ManagerRenderMode after changing the color in case the RenderMode was changing by itself, but this didnt help. I tried all possible RenderModes.

VELIO: I tried setting the color to Color.Empty but it made no difference.

You can try this by simply dropping a ToolStrip on a WinForm, and in your code changing the BackColor to Red. Then try to get it back to normal - not simple.
0
SETPAuthor Commented:
Oops, made a big mistake!!! Sorry Velio, your solution actually worked! Thanks
0
VelioCommented:
cool, glad i could help :)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.