Postby mjagers » Fri Nov 03, 2017 8:14 am
If the listbox item is clicked then the listIndex is set and listbox.itemSelected[listbox.listIndex] will be true.
And setting the foreColor / backColor is as simple as:
listbox.itemForeColor[listbox.listIndex] := <fore color>
listbox.itemBackColor[listbox.listIndex] := <back color>
Combobox should be similar.