Is is possible to change the item selection focus color and text color in a TListBox?
When themes are not enabled in the project, or the list box style is set to owner-draw, the selection around the item is painted blue, which I believe is globally defined by the system's appearance settings.
I would like to change the color of selected items to a custom color.
So an example, the result would be something like this:
Note the last listbox has been modified in Paint to illustrate the example.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…