Link to home
Start Free TrialLog in
Avatar of jonesgj
jonesgj

asked on

Main Menu Color

Hi Experts,

In VB.NET, is it possible to change the background color of the main menu control and the tabbed control? I just want black text on a white background.

Many thanks in advance

Jonesgj
Avatar of doobdave
doobdave

If those controls don't have a BackColor property, then you'll have to cerate your own versions by inheriting from them, adding a BackColor property, and on the paint event, read the value of that property and apply it.

Regards,

David
ASKER CERTIFIED SOLUTION
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jonesgj

ASKER

Hi Bob,

Excellent. I have made the changes suggested in the comments below to allow the menu background color to be changed but (this may sound silly) how do I get this to work?

I have compiled the DLL and added to another test project with the idea of creating a test menu... but how?

Sorry to be such a idiot! can you help?

So, you have a class defined, and you are trying to figure out how to use it, right?  I am not quite sure where you are having problems.

Bob
Avatar of jonesgj

ASKER

Thanks LearnedOne,

Apologies for the delay in replying.