ListView Checkboxes remain gray when I enable the ListView
Posted on 2002-07-21
I have 2 option controls, Yes & No. When the user clicks Yes I disable a ListView and set the backcolor to vb3DFace, which is gray.
.Enabled = False
.BackColor = vb3DFace
When the user clicks the No option, enable the ListView and change the BackColor to White.
.Enabled = True
.BackColor = vbWindowBackground
This procedure works but it leaves the CheckBoxes in the ListView gray. The rest of the ListView is white, like it should be when setting it to vbWindowBackground. If I take out the enable code from both procedures the checkboxes return to white.
I need to figure out how get the checkboxes to white as well. Wouldn't think this would be hard?