It is not possible to change the ListBox properties (TextColor, BorderColor, BackColor…) from within the ListBox event procedure. Example:
Private Sub MyListBox_Click()
MyListBox.BackColor = vbGreen
End Sub
This has no effect. From within another Subs it works normally.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…