Combobox bug?

StewartBW 1,480 Reputation points
2025-04-26T16:05:18.5066667+00:00

Hi experts,

Create a new WinForms .NetFx4.8 project and place a Combobox + 2 buttons

ComboBox1 is set to DropDownList

Inside 2 buttons, set FlatStyle to Standard and Flat, and set different back+fore colors for each button.

Once you set it to Standard and set the back+fore colors, then you can never go back to Flat and reset the back color, it's stocked with the last color.

Am I doing something wrong? A bug? Any workaround?

Thanks for the help.

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,841 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.