I have a function that fills my listviews from a dataview. There are a couple occasions where i'd like to change the backcolor when filling it. How do I have an optional parameter in the sub declaration for color, so I can default it to white and don't need to set it everytime I call it.
But I'm not doing it right.
It says "Optional Parameters cannot have structure types"
Here is my code
Private Sub FillListView(..., Optional ByVal intDateColumn As Integer = Nothing, Optional ByRef clr As Color = Color.White)