VB experts please help! -> 125 pts. for ListBox question
Posted on 2004-08-16
I have a ListBox on my form.
It consists of 10 names.
Is there a way for me to color code the names? For example, I would like to select the 1st name in the listbox and hit "g" on the keyboard to highlight the 1st name in green color.
Then I'd like to select the 2nd name in the listbox and hit "b" on the keyboard to highlight the 2nd name in blue color.
Then let's say the focus moves to another control. I would like the ListBox to still retain its green highlight on the 1st name and a blue highlight on the 2nd name. Is this possible to do?