Home > Software engineering >  How to prevent Backcolor and forecolor change in MenuBar Dropdowns On click
How to prevent Backcolor and forecolor change in MenuBar Dropdowns On click

Time:05-05

This is menubar dropdown 1

This is the Menubar Dropdown

We know the background is

Color.FromARGB(61,61,61)

Foreground = Color.Purple

When it is clicked it looks like:

After

I would like to prevent it from changing the Backcolor and when I put my mouse over an option in runtime it also changes the backcolor. I tried adding an onclick sub that keeps the backcolor after it was clicked but it still changed.

CodePudding user response:

According to enter image description here

  • Related