Hi all,
I have a combobox with a list of items that I loop through, and when a condition is met I want to change the forecolor of the item in the combobox that meets the condition.
For example - my combobox has 10 items, and 3 of the items match a criteria - I want these 3 items to appear in Red, and the other 7 items to remain the default text color - Black.
Changing the ForeColor property for the combobox changes every item's ForeColor - how can I change the ForeColor for specific items in the list?
Thanks!
I have a combobox with a list of items that I loop through, and when a condition is met I want to change the forecolor of the item in the combobox that meets the condition.
For example - my combobox has 10 items, and 3 of the items match a criteria - I want these 3 items to appear in Red, and the other 7 items to remain the default text color - Black.
Changing the ForeColor property for the combobox changes every item's ForeColor - how can I change the ForeColor for specific items in the list?
Thanks!