I need to do something in the MyFlexGrid_DblClick()
, but only if the back color is NOT set to vbInactiveBorder, I tried the folowing code but had no succes
Private Sub MyFlexGrid_DblClick()
If Not MyFlexGrid.BackColor = vbInactiveBorder Then
_what I need to do_
End If
End Sub
During debuging the inside "what I need to do" works perfectly, but the check in If
is always true, even when the backcolor of the cell I'm double clicking is previously set to vbInactiveBorder
.