Email Indexing: Fix hover colors

This commit is contained in:
Jonathan Jenne
2021-07-02 11:43:33 +02:00
parent c145111e5c
commit fcfed7e234
3 changed files with 56 additions and 27 deletions

View File

@@ -71,8 +71,10 @@ Public Class frmIndexFileList
End Sub
Private Sub CheckedListBoxControl1_DrawItem(sender As Object, e As DevExpress.XtraEditors.ListBoxDrawItemEventArgs) Handles CheckedListBoxControl1.DrawItem
If e.State = DrawItemState.Checked Then
If e.State = (DrawItemState.Selected Or DrawItemState.Checked) Or e.State = DrawItemState.Checked Then
e.Appearance.BackColor = Color.LightGreen
Else
e.Appearance.BackColor = Color.Transparent
End If
End Sub