I put a combo on Form A and a combo on Form B. Both combos have ALL appearance-related properties set to Default. When dropped down, one of them has dotted cell/row borders and one has solid line cell/row borders. Also, the column headers on one of them have a 3D look and the other has more of a flat look.
Why are they so different?
Are these on two different machines? It sounds to me like one of them is themed and the other is not. Or maybe this is because of Visual Styles in DotNet. Is EnableVisualStyles being called on one form, but not the other?
This is one application, two different forms.
But this problem is wierder than just that. It seems that at a certain point (right before my original post), EVERY combo I add to ANY form in the project has this new look. All the existing combos look the same, but every one I add from here on out has this new look. All the properties are the same, everything is at its defaults.
Were the old combos added with an older version of the assemblies? Maybe the new look is because of a preset. You can set up the designer to automatically load a preset into every new instance of a grid or Combo. I don't think that would affect the dropdown button on the combo, though.
Can you post screen shots of what they look like?
Does it happens if you copy and paste an existing control?
Nope, all the same version. By "old" combos, I mean combos I added before 5/13 when this problem first popped up.
If I copy and paste one of the older ones, it works fine. Its only when I add a new one that this happens.
Your idea of using a preset is perfect. I wish I had looked into presets sooner, it would have saved me a ton of time over the last few months.
Here's a pic of how I want the combos to look.
I checked this out and I get solid borders on mine - with or without the preset. And it's the same for the grid.
My guess is that you must be setting BorderStyleRow and BorderStyleCell on the Override to Dotted.
...and this is what they look like when I add them now.