General information
Category:
Forms & Form designer
>I want to change the color of a listbox item if a user right clicks that item. "Listbox.SelectedItemForecolor" doesn't work because it sets the forecolor for every item that becomes selected, whether or not the user right-clicks it.
If you mean a multiselct listbox that it is not possible i think
But if you only may select one file you can set the selecteditemforecolor in the rightclick method to the other color and reset it in the click or lostfocus event.
Otherwise (multiselect) i think you need a grid here
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only