How do I change the forecolor of a specific row in a list. I have a list filled with items that are available, and I want any items that are not available to be grayed out in the list (or 'red' in this example). My list is called lstParam. I don't have the complete code of it, but basically I want to put:
Code:
If lstParam.Selected(x) Then Me.lstParameter.ForeColor = vbRed
On other sites, I've seen instructions for doing this by declaring a variable as ListItem, but I get an error every time I try this. I'm thinking ListItem must only be for VB.